summaryrefslogtreecommitdiff
path: root/testsuite/tests/numeric/should_compile/T16402.stderr-ws-64
blob: d81adaaa7b74facc6d45a5eaa7f5827c7a68a9d5 (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

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

-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
$trModule4 = "main"#

-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
$trModule3 = TrNameS $trModule4

-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
$trModule2 = "T16402"#

-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
$trModule1 = TrNameS $trModule2

-- RHS size: {terms: 3, types: 0, coercions: 0, joins: 0/0}
$trModule = Module $trModule3 $trModule1

-- RHS size: {terms: 8, types: 3, coercions: 0, joins: 0/0}
smallWord_bar
  = \ x -> case x of { W64# x# -> W64# (and# x# 0xffff##) }

-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
smallWord_foo = smallWord_bar

-- RHS size: {terms: 8, types: 3, coercions: 0, joins: 0/0}
smallInt_bar
  = \ x ->
      case x of { I64# x# -> I64# (extendInt16# (narrowInt16# x#)) }

-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
smallInt_foo = smallInt_bar