diff options
Diffstat (limited to 'testsuite/tests/indexed-types/should_compile/T10806.stderr')
-rw-r--r-- | testsuite/tests/indexed-types/should_compile/T10806.stderr | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/testsuite/tests/indexed-types/should_compile/T10806.stderr b/testsuite/tests/indexed-types/should_compile/T10806.stderr index 3503105498..c78a10bd7b 100644 --- a/testsuite/tests/indexed-types/should_compile/T10806.stderr +++ b/testsuite/tests/indexed-types/should_compile/T10806.stderr @@ -1,9 +1,9 @@ T10806.hs:11:32: error: - Couldn't match expected type ‘Char -> Bool’ - with actual type ‘IO ()’ - The function ‘print’ is applied to two 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' + • 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' |