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

Checker doesn't catch compile time values being non constant #120

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

Checker doesn't catch compile time values being non constant #120

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

Comments

@vdka
Copy link
Contributor

vdka commented Feb 24, 2018

The following passes through the checker and generates invalid IR

main :: fn() -> void {
    x := 5
    y :: x
}
@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