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

Internal compiler error #2113

Closed
patrick-nicodemus opened this issue Feb 19, 2024 · 0 comments
Closed

Internal compiler error #2113

patrick-nicodemus opened this issue Feb 19, 2024 · 0 comments

Comments

@patrick-nicodemus
Copy link

I found that a small typo of accidentally omitting a polymorphic type annotation can crash the compiler.

module type abc = {
  type x 'a
  val y : x a
} 

Here there should be an 'a after y, but there should be a more graceful error handling.

@athas athas closed this as completed in 6bbe78d Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant