aihc-parser-1.0.0.2: test/Test/Fixtures/error-messages/module/if-missing-condition-keyword.yaml
src: |
x = if then 1 else 2
ghc: |
test.hs:1:8: error: [GHC-58481] parse error on input `then'
aihc: |
test.hs:1:8:
1 | x = if then 1 else 2
| ^^^^
unexpected 'then'
expecting expression
context: while parsing equation right-hand side