summaryrefslogtreecommitdiff
path: root/testsuite/tests/deSugar/should_compile/T2431.stderr
blob: 935285a0d1fba9b215c008e1fbd5ccd2d8679456 (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
52
53
54
55
56
57
58
59
60
61
62

==================== Tidy Core ====================
Result size of Tidy Core = {terms: 36, types: 30, coercions: 1}

-- RHS size: {terms: 2, types: 4, 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 GHC.Prim.~# a)}]
T2431.$WRefl =
  \ (@ a) -> T2431.Refl @ a @ a @~ (<a>_N :: a GHC.Prim.~# a)

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

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

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

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

-- RHS size: {terms: 5, types: 0, coercions: 0}
T2431.$tc'Refl :: GHC.Types.TyCon
[GblId, Caf=NoCafRefs, Str=DmdType]
T2431.$tc'Refl =
  GHC.Types.TyCon
    15026191172322750497## 3898273167927206410## T2431.$trModule a2

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

-- RHS size: {terms: 5, types: 0, coercions: 0}
T2431.$tc:~: :: GHC.Types.TyCon
[GblId, Caf=NoCafRefs, Str=DmdType]
T2431.$tc:~: =
  GHC.Types.TyCon
    9759653149176674453## 12942818337407067047## T2431.$trModule a3

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