-
Notifications
You must be signed in to change notification settings - Fork 465
Consider getting rid of assert
calls in compiler that could be user-facing
#6654
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
Comments
I agree. There's a plethora of asserts in the compiler though. But fixing them continuously would indeed be great. |
I think there are two cases:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
not stale |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This yields cryptic errors where the user does not really know what's going on.
For instance in
bsb_pkg_types.ml
if the package name begins with an@
it asserts that there is a slash somewhere afterwards.If there is no
/
, you get:Related forum post: https://forum.rescript-lang.org/t/getting-fatal-error-exception-file-bsb-pkg-types-ml-no-solution-found/5091/2
The text was updated successfully, but these errors were encountered: