summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/NoDoAndIfThenElse.stderr
blob: 6c96fc9679397c4325efd4f9391381ec2b289fc0 (plain)
1
2
3
4
5

NoDoAndIfThenElse.hs:7:13:
    Unexpected semi-colons in conditional:
        if True; then return (); else return ()
    Perhaps you meant to use DoAndIfThenElse?