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

With application is successfully parsed in LHS #3453

Open
spcfox opened this issue Dec 21, 2024 · 0 comments
Open

With application is successfully parsed in LHS #3453

spcfox opened this issue Dec 21, 2024 · 0 comments

Comments

@spcfox
Copy link
Contributor

spcfox commented Dec 21, 2024

Steps to Reproduce

f : () -> ()
f (MkUnit | x) = ()

Expected Behavior

Error during parsing:

else fail "| not allowed here"

Observed Behavior

Error during elaboration:

Error: While processing left hand side of f. with application not implemented yet

Main:2:4--2:14
 1 | f : () -> ()
 2 | f (MkUnit | x) = ()
        ^^^^^^^^^^

= throw (GenericMsg fc "with application not implemented yet")

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