summaryrefslogtreecommitdiff
path: root/testdata/language-features/pattern/pattern01.out
blob: f5b7944c8b08a7d6e1ac414788a8ea0be9dfd4b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
------------ desugared source code
fun1
  = \(a :: _) -> 'BoolCase \_ -> _ :: _ (_rhs '_') (_rhs '0') (fromInt 0 == a)
fun2 = \(a :: _) -> 'BoolCase \_ -> _ :: _ (_rhs '_') (_rhs '0') ("0" == a)
fun3 = \(a :: _) -> 'BoolCase \_ -> _ :: _ (_rhs '_') (_rhs '0') ('0' == a)
fun4 = \(a :: _) -> hlistNilCase (_ :: _) (_rhs '0') a
main is not found
------------ trace
fun1 :: forall a . (Eq a, Num a) => a -> Char
fun2 :: String -> Char
fun3 :: Char -> Char
fun4 :: () -> Char
------------ tooltips
testdata/language-features/pattern/pattern01.lc 1:1-1:5  forall a . (Eq a, Num a) => a -> Char
testdata/language-features/pattern/pattern01.lc 1:10-1:13  Char
testdata/language-features/pattern/pattern01.lc 1:10-2:13  Bool -> Char
testdata/language-features/pattern/pattern01.lc 2:10-2:13  Char
testdata/language-features/pattern/pattern01.lc 4:1-4:5  String -> Char
testdata/language-features/pattern/pattern01.lc 4:12-4:15  Char
testdata/language-features/pattern/pattern01.lc 4:12-5:13  Bool -> Char
testdata/language-features/pattern/pattern01.lc 5:10-5:13  Char
testdata/language-features/pattern/pattern01.lc 7:1-7:5  Char -> Char
testdata/language-features/pattern/pattern01.lc 7:12-7:15  Char
testdata/language-features/pattern/pattern01.lc 7:12-8:13  Bool -> Char
testdata/language-features/pattern/pattern01.lc 8:10-8:13  Char
testdata/language-features/pattern/pattern01.lc 10:1-10:5  () -> Char
testdata/language-features/pattern/pattern01.lc 10:11-10:14  Char
------------ warnings
Source code is not reachable: testdata/language-features/pattern/pattern01.lc:11:10:
fun4 _ = '_'
         ^^^