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

Build AssertionError in Exception module #2165

Open
spotandjake opened this issue Sep 21, 2024 · 0 comments
Open

Build AssertionError in Exception module #2165

spotandjake opened this issue Sep 21, 2024 · 0 comments
Labels

Comments

@spotandjake
Copy link
Member

spotandjake commented Sep 21, 2024

Currently we build the assertion error in the compiler because of previous restrictions in the Exception module in the runtime. We should move this logic into the Exception module and have assertion error become AssertionError(String, Number) where String is the filename and Number is the line number. Notably once we implement exception catching the current approach would not work very well.

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