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

Write unit tests for elabExprE and stripCasts #542

Open
facundominguez opened this issue Apr 8, 2022 · 0 comments
Open

Write unit tests for elabExprE and stripCasts #542

facundominguez opened this issue Apr 8, 2022 · 0 comments

Comments

@facundominguez
Copy link
Collaborator

These functions add explicit casts (type annotations) to expressions, since the SMT solver doesn't know about polymorphic types, neither does it have an inference algorithm.

They are in Language.Fixpoint.SortCheck and Language.Fixpoint.Types.Visitor.

I'm unaware of whether there are preconditions when calling elabExprE. If there are any, it would be desirable to have them documented.

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