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

Compiler dies without an error message when declaring func outside of bank #129

Open
veremenko-y opened this issue Jul 10, 2021 · 0 comments

Comments

@veremenko-y
Copy link

Compiler dies without an error message when declaring func outside of bank

Steps to reproduce:

  • Create file bugtest.wiz with the following content

    func main {
    }

  • Compile with wiz\wiz.exe src/bugtest.wiz -o bugtest.nes

  • Actual output is truncated due to early exit of the compiler

    * wiz: version 0.1.2 (alpha)
    >> Parsing...
    >> Compiling...
  • Expected output: error message of misdeclared function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant