about summary refs log tree commit diff stats
path: root/051scenario_test.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-04-27 22:28:55 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-04-27 22:28:55 -0700
commit5b22547bb352f6e5a98ddd8ff42f37861a8e16ea (patch)
treecf531cce10d5f570f55dd54a46361dad882a14f6 /051scenario_test.mu
parentb1ddb414006352b2d3af3652263a536acbd2702e (diff)
downloadmu-5b22547bb352f6e5a98ddd8ff42f37861a8e16ea.tar.gz
2880
Turns out we don't need a primitive to return an empty value of
arbitrary type. Just create it on the heap using 'new'.

But this uncovered *yet* another bug, sigh. When I specialize generic
functions I was running all transforms on the generated functions after
specialization completed. But there's one transform that includes code
from elsewhere. If such code included type-ingredients -- kaboom. Now
fixed and there's a test, so I've got that going for me which is nice.
Diffstat (limited to '051scenario_test.mu')
0 files changed, 0 insertions, 0 deletions
; 2020-07-05 15:28:37 -0700 committer Kartik Agaram <vc@akkartik.com> 2020-07-06 01:05:10 -0700 6618 - new docs' href='/akkartik/mu/commit/subx.md?h=hlt&id=9a524793ee01ce47f3963768559a0d6c348631c5'>9a524793 ^
31e6ed17 ^


9a524793 ^
31e6ed17 ^


9a524793 ^
































7817fdb2 ^


9a524793 ^


964becd4 ^



9a524793 ^
964becd4 ^







9a524793 ^



964becd4 ^
9a524793 ^
































9a524793 ^


















16f2bd11 ^

9a524793 ^
16f2bd11 ^
9a524793 ^
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164