summaryrefslogtreecommitdiff
path: root/testdata/language-features/basic-values/shadowing01.out
blob: b128827070e8ee6cf5d8f4bfbff7ca02dc54a813 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
main is not found
------------ desugared source code
value
  = _lhs
    value
    (_rhs
      let
        a = _lhs x (_rhs 'A');
        b = _lhs y (_rhs "hello");
        c
          = _lhs
            c
            (_rhs
              let
                d = _lhs x (_rhs (fromInt 1));
                e = _lhs y (_rhs 2.12);
                f
                  = _lhs
                    c
                    (_rhs
                      let
                        g = _lhs x (_rhs ()); h = _lhs y (_rhs 'C'); i = _lhs c (_rhs 3.12)
                        in "world")
                in ())
        in '7')
------------ core code
value :: Char
value = _rhs '7'
------------ tooltips
testdata/language-features/basic-values/shadowing01.lc 1:1-1:6
    Char
testdata/language-features/basic-values/shadowing01.lc 2:11-2:14
    Char
testdata/language-features/basic-values/shadowing01.lc 3:11-3:18
    String
testdata/language-features/basic-values/shadowing01.lc 5:17-5:18
    _b
testdata/language-features/basic-values/shadowing01.lc 6:17-6:21
    Float
testdata/language-features/basic-values/shadowing01.lc 7:25-7:27
    ()
testdata/language-features/basic-values/shadowing01.lc 8:25-8:28
    Char
testdata/language-features/basic-values/shadowing01.lc 9:25-9:29
    Float
testdata/language-features/basic-values/shadowing01.lc 10:20-10:27
    String
testdata/language-features/basic-values/shadowing01.lc 11:14-11:16
    ()
testdata/language-features/basic-values/shadowing01.lc 12:6-12:9
    Char