aihc-parser-1.0.0.2: test/Test/Fixtures/error-messages/module/let-expression-in-pattern.yaml
src: |
f n (let exp = x^2 in exp n) = True
ghc: |
test.hs:1:6: error: [GHC-78892] (let ... in ...)-syntax in pattern
aihc: |
test.hs:1:6:
1 | f n (let exp = x^2 in exp n) = True
| ^^^
unexpected 'let'
expecting pattern atom
test.hs:1:28:
1 | f n (let exp = x^2 in exp n) = True
| ^
unexpected )
expecting end of input