Idris2/tests/idris2/error/perror028/expected
2023-09-07 14:57:22 +01:00

12 lines
259 B
Plaintext

1/1: Building LetInDo (LetInDo.idr)
Error: Let-in not supported in do block. Did you mean (let ... in ...)?.
LetInDo:6:13--6:15
2 |
3 | letInDo : Monad m => m Int
4 | letInDo = do
5 | y <- pure 10
6 | let x = 5 in pure $ y + x
^^