summaryrefslogtreecommitdiff
path: root/testsuite/tests/simplCore/should_compile/T18995.stderr
blob: a1db26f6ec1fc054c1c41c2b7d86213f01ca4211 (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
63
64
65
66

==================== Tidy Core ====================
Result size of Tidy Core
  = {terms: 19, types: 14, coercions: 12, joins: 0/0}

-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
T18995.$trModule4 :: GHC.Prim.Addr#
[GblId,
 Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
         WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 20 0}]
T18995.$trModule4 = "main"#

-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
T18995.$trModule3 :: GHC.Types.TrName
[GblId,
 Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
         WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 10}]
T18995.$trModule3 = GHC.Types.TrNameS T18995.$trModule4

-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
T18995.$trModule2 :: GHC.Prim.Addr#
[GblId,
 Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
         WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 30 0}]
T18995.$trModule2 = "T18995"#

-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
T18995.$trModule1 :: GHC.Types.TrName
[GblId,
 Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
         WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 10}]
T18995.$trModule1 = GHC.Types.TrNameS T18995.$trModule2

-- RHS size: {terms: 3, types: 0, coercions: 0, joins: 0/0}
T18995.$trModule :: GHC.Types.Module
[GblId,
 Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
         WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 10}]
T18995.$trModule
  = GHC.Types.Module T18995.$trModule3 T18995.$trModule1

-- RHS size: {terms: 4, types: 7, coercions: 12, joins: 0/0}
foo :: IO ()
[GblId,
 Unf=Unf{Src=<vanilla>, TopLvl=True, Value=False, ConLike=False,
         WorkFree=False, Expandable=False, Guidance=IF_ARGS [] 40 0}]
foo
  = noinline
      @(forall a. Show a => a -> IO ())
      (System.IO.print1
       `cast` (forall (a :: <*>_N).
               <Show a>_R
               %<'Many>_N ->_R <a>_R
               %<'Many>_N ->_R Sym (GHC.Types.N:IO[0] <()>_R)
               :: (forall {a}.
                   Show a =>
                   a
                   -> GHC.Prim.State# GHC.Prim.RealWorld
                   -> (# GHC.Prim.State# GHC.Prim.RealWorld, () #))
                  ~R# (forall {a}. Show a => a -> IO ())))
      @Bool
      GHC.Show.$fShowBool
      GHC.Types.True