summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_compile/T10806.stderr
blob: 96284e6c7518df67a62a31cc89d713d0cc8ce193 (plain)
1
2
3
4
5
6
7
8
9

T10806.hs:11:32: error:
    • Couldn't match expected type: Char -> Bool
                  with actual type: IO ()
    • The function ‘print’ is applied to two value arguments,
        but its type ‘Char -> IO ()’ has only one
      In the expression: print 'x' 'y'
      In an equation for ‘triggersLoop’:
          triggersLoop (Q _ _) (Q _ _) = print 'x' 'y'