summaryrefslogtreecommitdiff
path: root/testsuite/tests/deSugar/should_compile/T2431.stderr-ws-32
blob: 093e858d04139af1bd6a0516e0351ffe8e954b20 (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

==================== Tidy Core ====================
Result size of Tidy Core = {terms: 27, types: 24, coercions: 1}

-- RHS size: {terms: 2, types: 3, coercions: 1}
T2431.$WRefl [InlPrag=INLINE] :: forall a. a :~: a
[GblId[DataConWrapper],
 Caf=NoCafRefs,
 Str=DmdType m,
 Unf=Unf{Src=InlineStable, TopLvl=True, Value=True, ConLike=True,
         WorkFree=True, Expandable=True,
         Guidance=ALWAYS_IF(arity=0,unsat_ok=False,boring_ok=False)
         Tmpl= \ (@ a) -> T2431.Refl @ a @ a @~ (<a>_N :: a ~# a)}]
T2431.$WRefl = \ (@ a) -> T2431.Refl @ a @ a @~ (<a>_N :: a ~# a)

-- RHS size: {terms: 2, types: 0, coercions: 0}
a :: TrName
[GblId, Caf=NoCafRefs, Str=DmdType]
a = TrNameS "main"#

-- RHS size: {terms: 2, types: 0, coercions: 0}
a1 :: TrName
[GblId, Caf=NoCafRefs, Str=DmdType]
a1 = TrNameS "T2431"#

-- RHS size: {terms: 3, types: 0, coercions: 0}
T2431.$trModule :: Module
[GblId[ReflectionId], Caf=NoCafRefs, Str=DmdType]
T2431.$trModule = Module a a1

-- RHS size: {terms: 2, types: 0, coercions: 0}
a2 :: TrName
[GblId, Caf=NoCafRefs, Str=DmdType]
a2 = TrNameS ":~:"#

-- RHS size: {terms: 5, types: 0, coercions: 0}
T2431.$tc:~: :: TyCon
[GblId[ReflectionId], Caf=NoCafRefs, Str=DmdType]
T2431.$tc:~: = TyCon 0L## 0L## T2431.$trModule a2

-- RHS size: {terms: 4, types: 7, coercions: 0}
absurd :: forall a. Int :~: Bool -> a
[GblId, Arity=1, Caf=NoCafRefs, Str=DmdType <L,U>b]
absurd = \ (@ a3) (x :: Int :~: Bool) -> case x of _ [Occ=Dead] { }