summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail186.stderr
blob: 9b38bca9157761b538ae23568b0227a4cd3a6e1a (plain)
1
2
3
4
5
6
7
8

tcfail186.hs:7:9: error:
    • Couldn't match type ‘[Char]’ with ‘Int’
      Expected type: PhantomSyn a0
        Actual type: [Char]
    • In the first argument of ‘f’, namely ‘"hoo"’
      In the expression: f "hoo"
      In an equation for ‘foo’: foo = f "hoo"