work in progress
WIP: Issue #1032 (https://github.com/JuliaLang/julia/issues/1032)