@@ -1,13 +1,13 @@
1−-- @shouldFailWith ExpressionDoesNotHaveType
1+-- @shouldFailWith ExprDoesNotHaveType
2−-- @shouldFailWith ExpressionDoesNotHaveType
2+-- @shouldFailWith ExprDoesNotHaveType
3module MultipleErrors where
3module MultipleErrors where
5import Prelude
5import Prelude
7−foo :: Number -> Number
7+foo :: Int -> Int
8foo 0 = "Test"
8foo 0 = "Test"
9foo n = bar (n - 1)
9foo n = bar (n - 1)
11−bar :: Number -> Number
11+bar :: Int -> Int
12bar 0 = "Test"
12bar 0 = "Test"
13bar n = foo (n - 1)
13bar n = foo (n - 1)