You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Other syntactic constructs with parentheses are also parsed
g: (Bool, Bool)
g with (True, False)
g | x = x
-- Not parser error
failing "Can't solve constraint between: ?x = ?x and ?p True"h: (b : Bool ** b = True)
h with (True**Refl)
h | x = x
k:Type
k with (b:Bool ** b = True)
k | x = x
Steps to Reproduce
The argument after
with
is written in parentheses. But if you leave them empty, they themselves will be parsed asUnit
.Expected Behavior
Parsing error
Observed Behavior
Successful compilation
The text was updated successfully, but these errors were encountered: