We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Check
f : A -> A f a = let x = record { fieldA = 1 } a in ?x
Checks successfully
Errors (1) Test.idr:203:13 While processing right hand side of f at Test.idr:202:1--205:1: Can't infer type for this record update
However if I replace ?x with x it will type check.
?x
x
The text was updated successfully, but these errors were encountered:
I can't reproduce this because you haven't included the full example.
Sorry, something went wrong.
Ooops:
record A where constructor MkR fieldA : Int f : A -> A f a = let x = record { fieldA = 1 } a in ?x
No branches or pull requests
Steps to Reproduce
Check
Expected Behavior
Checks successfully
Observed Behavior
However if I replace
?x
withx
it will type check.The text was updated successfully, but these errors were encountered: