Open VictorTaelin opened 4 years ago
I this this is happening because parse_cse
can take an optional motive. This line: https://github.com/moonad/Formality/blob/1223d71682af9aa60834fcfc282203240e559d3b/javascript/FormalityLang.js#L611 So it reads ?a
as the motive instead of the body of the expression.
I'm already working on another issue with parse_cse
(as reported bye @emturner on the telegram channel) with parsing extra |
branches with parse_bar
, so I can work on a solution here too.
Seems like it parses
?a
as part of the type, investigate