summaryrefslogtreecommitdiff
path: root/testdata/language-features/guard/guard12.reject.out
blob: c6c21a4fa54db3024d9bc1da8bb5debc987cb449 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
type error: can not unify
  Char
with
  ()
in ./testdata/language-features/guard/guard12.reject.lc:1:13:
fun x | x = () | otherwise = 'a'
            ^^
------------ trace
!type error: can not unify
  Char
with
  ()
in ./testdata/language-features/guard/guard12.reject.lc:1:13:
fun x | x = () | otherwise = 'a'
            ^^
------------ tooltips
1:13-1:15
    ()
1:30-1:33
    Char