1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-03 09:41:10 +03:00
juvix/tests/negative/Internal/DanglingDoubleBrace.juvix
Jan Mas Rovira 73e2cf0fa8
Small refactor for traits (#2345)
This pr simplifies parsing by removing `FunctionParameterUnnamed`. It
also removes ghost wildcards introduced during parsing.

It also introduces an error for double braced atoms `{{x}}` that are not
on the left of an arrow `->`
2023-09-08 17:22:21 +02:00

4 lines
55 B
Plaintext

module DanglingDoubleBrace;
id {A} : A -> {{A}} := A;