1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-01 00:04:58 +03:00
juvix/tests/negative/ConstructorExpectedLeftApplication.juvix
Łukasz Czajka e19fbf489f
Implement some error messages (#1396) (#1400)
* Implement error message for double braces
* Implement error message for implicit pattern on the left of an application
* Implement error message for constructor expected on the left of an application 

Co-authored-by: Jan Mas Rovira <janmasrovira@gmail.com>
2022-07-20 16:24:03 +02:00

7 lines
90 B
Plaintext

module ConstructorExpectedLeftApplication;
f : {A : Type} -> A -> A;
f (x y) := x;
end;