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

Reporting errors referencing things from other files results in incorrect errors #122

Open
vdka opened this issue Feb 24, 2018 · 0 comments
Labels
Milestone

Comments

@vdka
Copy link
Contributor

vdka commented Feb 24, 2018

#import "b.kai" _
#import "c.kai" _
main :: fn() -> void {
    x := entInB
    y := entInC
    z := ent
}

b.kai

ent :: 1

c.kai

ent :: 2
ERROR(a.kai:0:0): Invalid redeclaration of 'ent'
  Previous declaration here: a.kai:0:0
@vdka vdka added the bug label Feb 24, 2018
@vdka vdka added this to the BugHunt milestone Feb 24, 2018
vdka added a commit that referenced this issue Feb 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant