Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Referring to Foo.F inside struct F defined in module Foo now errors with UndefVar error #36104

Closed
KristofferC opened this issue Jun 1, 2020 · 0 comments · Fixed by #36121
Closed
Assignees
Labels
compiler:lowering Syntax lowering (compiler front end, 2nd stage)
Milestone

Comments

@KristofferC
Copy link
Sponsor Member

module Foo
    struct F
        v::Foo.F
    end
end

Works in 1.4, errors in 1.5 with

ERROR: UndefVarError: F not defined

From PkgEval on 1.5 (https://github.com/JuliaCI/NanosoldierReports/blob/90885ffd4005a91d0dc4150b8c1453f2f5948eb0/pkgeval/by_hash/194ddda_vs_b5f13c3/logs/Persa/1.5.0-DEV-f11a73bd9c.log).

@KristofferC KristofferC added this to the 1.5 milestone Jun 1, 2020
@JeffBezanson JeffBezanson added the compiler:lowering Syntax lowering (compiler front end, 2nd stage) label Jun 1, 2020
KristofferC pushed a commit that referenced this issue Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:lowering Syntax lowering (compiler front end, 2nd stage)
Projects
None yet
2 participants