We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It's not currently possible to re-export an exception in Grain as there is no syntax to do so. One might try this:
test.gr
export exception Foo
test2.gr
import { Foo } from "./test" export Foo
and they'd be greeted with this unhelpful internal error message:
/Users/oscar/Development/grain/cli/bin/grainc.exe: internal error, uncaught exception: Not_found
This happens because export followed by a capitalized identifier looks for a type to export.
export
The text was updated successfully, but these errors were encountered:
Err
Number.parseInt
parseInt
Successfully merging a pull request may close this issue.
It's not currently possible to re-export an exception in Grain as there is no syntax to do so. One might try this:
test.gr
test2.gr
and they'd be greeted with this unhelpful internal error message:
This happens because
export
followed by a capitalized identifier looks for a type to export.The text was updated successfully, but these errors were encountered: