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

Error recovery in the type checker #14

Closed
brendanzab opened this issue Mar 29, 2018 · 0 comments · Fixed by #197
Closed

Error recovery in the type checker #14

brendanzab opened this issue Mar 29, 2018 · 0 comments · Fixed by #197

Comments

@brendanzab
Copy link
Member

We should be able to run programs that:

  • are broken syntactically
  • are partially type-incorrect

We should also be able to see more than one type error message.

At the moment we recover from syntactic errors, inserting concrete::Term::Error variants in the places that we fail to parse. But then we blow up if wen try to desugar these into RawTerms. Instead we should probably insert a static-error : {a : Type} -> String -> a function in those places instead...

@brendanzab brendanzab added this to the DDL-fork milestone Apr 3, 2018
@brendanzab brendanzab removed this from the DDL-fork milestone Apr 17, 2018
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

Successfully merging a pull request may close this issue.

1 participant