Hello Mauro,

On 18 July 2014 18:32, Mauro <mauro...@runbox.com> wrote:
>
> this is a bug.  Running it inside vs outside of a function shows the
> same issue:
>
> julia> @show  issubtype(fieldtype(foo, :bar), Array)
> issubtype(fieldtype(foo,:bar),Array) => true
> true
>
> julia> f() =   @show issubtype(fieldtype(foo, :bar), Array)
> f (generic function with 1 method)
>
> julia> f()
> issubtype(fieldtype(foo,:bar),Array) => false
> false
>
> I also tested this in Julia 0.2.1 where it works as expected, i.e. no
> bug.
>
> Can you submit a bug report on
> https://github.com/JuliaLang/julia/issues?milestone=7&state=open

Done and done [1].  I do however observe the same bug on 0.2.1 for the
test code that I supplied.

    Pontus

[1]: https://github.com/JuliaLang/julia/issues/7652

Reply via email to