rubyspec (owner)

Revisions

gist: 7856 Download_button fork
public
Public Clone URL: git://gist.github.com/7856.git
Embed All Files: show embed
Text only #
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
initialize + 1: op_passed_arg 3 0xe
initialize + 3: op_goto_if_true 4 0xa
initialize + 9: op_passed_arg 3 0xe
initialize + 11: op_goto_if_true 4 0xa
initialize + 17: op_passed_arg 3 0xe
initialize + 19: op_goto_if_true 4 0xa
initialize + 25: op_passed_arg 3 0xe
initialize + 27: op_goto_if_true 4 0x6
initialize + 29: op_push_nil 3 0xe
initialize + 30: op_set_local 4 0xe
initialize + 32: op_pop 4 0xe
initialize + 33: op_push_local 3 0xe
initialize + 35: op_set_ivar 4 0x5c83
initialize + 37: op_pop 4 0x5c83
initialize + 38: op_push_local 3 0xe
initialize + 40: op_set_ivar 4 0x5c8b
initialize + 42: op_pop 4 0x5c8b
initialize + 43: op_push_local 3 0xe
initialize + 45: op_set_ivar 4 0x5c81
initialize + 47: op_pop 4 0x5c81
initialize + 48: op_push_local 3 0xe
initialize + 50: op_set_ivar 4 0xe
initialize + 52: op_ret 4 0xe
new + 19: op_pop 3 0xe
new + 20: op_pop 2 0xe
new + 21: op_push_local 1 0x4436ab4
new + 23: op_ret 2 0x4436ab4
set + 64: op_set_local 5 0x4436ab4
set + 66: op_pop 5 0x4436ab4
set + 67: op_push_self 4 0x4436ab4
set + 68: op_push_local 5 0x4421ff4
set + 70: op_send_stack 6 0x4436ab4
set + 73: op_pop 5 0x4436ab4
set + 74: op_push_true 4 0x4436ab4
set + 75: op_ret 5 0xa
[]= + 53: op_goto_if_false 5 0xa
[]= + 55: op_push_local 4 0xe
[]= + 57: op_meta_push_1 5 0xe
[]= + 58: op_meta_send_op_plus 6 0x5
method_missing + 1: op_push_self 1 0x4438824
method_missing + 2: op_push_const 2 0xe
method_missing + 4: op_push_self 3 0x180808c
method_missing + 5: op_set_call_flags 4 0xe
method_missing + 7: op_send_method 4 0xe
to_s + 1: op_push_literal -1 0x10
to_s + 3: op_string_dup 0 0x189417c
to_s + 4: op_ret 0 0x4438e04
method_missing + 9: op_push_literal 4 0x4438e04
method_missing + 11: op_string_dup 5 0x1887598
method_missing + 12: op_push_local 5 0x4439074
method_missing + 14: op_set_call_flags 6 0x33b
method_missing + 16: op_send_method 6 0x33b
method_missing + 18: op_push_literal 6 0x44392a4
method_missing + 20: op_string_dup 7 0x1887614
method_missing + 21: op_string_append 7 0x44394c4
method_missing + 22: op_string_append 6 0x44394c4
method_missing + 23: op_string_append 5 0x44394c4
method_missing + 24: op_set_call_flags 4 0x44394c4
method_missing + 26: op_send_stack 4 0x44394c4
raise + 1: op_passed_arg 5 0xe
raise + 3: op_goto_if_true 6 0xa
raise + 10: op_passed_arg 5 0xe
raise + 12: op_goto_if_true 6 0xa
raise + 18: op_passed_arg 5 0xe
raise + 20: op_goto_if_true 6 0x6
raise + 22: op_push_nil 5 0xe
raise + 23: op_set_local 6 0xe
raise + 25: op_pop 6 0xe
raise + 26: op_push_false 5 0xe
raise + 27: op_set_local 6 0x6
raise + 29: op_pop 6 0x6
raise + 30: op_push_local 5 0xe
raise + 32: op_push_const 6 0x180808c
raise + 34: op_send_stack 7 0x3446d54
raise + 37: op_goto_if_false 6 0x6
raise + 64: op_push_local 5 0xe
raise + 66: op_push_literal 6 0x180808c
raise + 68: op_send_stack 7 0x371b
respond_to? + 1: op_passed_arg 3 0xe
respond_to? + 3: op_goto_if_true 4 0x6
respond_to? + 5: op_push_false 3 0xe
respond_to? + 6: op_set_local 4 0x6
respond_to? + 8: op_pop 4 0x6
respond_to? + 9: op_push_local 3 0xe
respond_to? + 11: op_send_method 4 0x371b
to_sym + 1: op_push_self -1 0x10
to_sym + 2: op_ret 0 0x371b
respond_to? + 13: op_set_local 4 0x371b
respond_to? + 15: op_pop 4 0x371b
respond_to? + 16: op_push_self 3 0xe
respond_to? + 17: op_push_local 4 0x180808c
respond_to? + 19: op_push_local 5 0x371b
respond_to? + 21: op_locate_method 6 0x6
respond_to? + 22: op_set_local 4 0x443b054
respond_to? + 24: op_pop 4 0x443b054
respond_to? + 25: op_push_local 3 0xe
respond_to? + 27: op_send_method 4 0x443b054
nil? + 1: op_push_false -1 0x10
nil? + 2: op_ret 0 0x6
respond_to? + 29: op_goto_if_true 4 0x6
respond_to? + 31: op_push_true 3 0xe
respond_to? + 32: op_goto 4 0xa
respond_to? + 35: op_ret 4 0xa
raise + 71: op_goto_if_false 6 0xa
raise + 73: op_push_local 5 0xe
raise + 75: op_push_local 6 0x180808c
raise + 77: op_send_stack 7 0x44394c4
exception + 1: op_passed_arg 0 0x44394c4
exception + 3: op_goto_if_true 1 0xa
exception + 9: op_push_self 0 0x44394c4
exception + 10: op_push_local 1 0x180808c
exception + 12: op_send_stack 2 0x44394c4
new + 1: op_push_self 2 0xe
new + 2: op_set_call_flags 3 0x180808c
new + 4: op_send_method 3 0x180808c
new + 6: op_set_local 3 0x443bfc4
new + 8: op_pop 3 0x443bfc4
new + 9: op_push_local 2 0xe
new + 11: op_push_local 3 0x443bfc4
new + 13: op_push_block 4 0x443bd84
new + 14: op_set_call_flags 5 0xe
new + 16: op_send_stack_with_splat 5 0xe
initialize + 1: op_push_local 0 0x443c544
initialize + 3: op_send_method 1 0x443c544
shift + 1: op_push_my_field 0 0xe
shift + 3: op_meta_push_0 1 0x5
shift + 4: op_meta_send_op_equal 2 0x1
shift + 5: op_goto_if_false 1 0x6
shift + 11: op_push_nil 0 0xe
shift + 12: op_pop 1 0xe
shift + 13: op_push_my_field 0 0xe
shift + 15: op_push_my_field 1 0x443c594
shift + 17: op_send_stack 2 0x1
shift + 20: op_set_local 1 0x44394c4
shift + 22: op_pop 1 0x44394c4
shift + 23: op_push_my_field 0 0x44394c4
shift + 25: op_meta_push_1 1 0x1
shift + 26: op_meta_send_op_plus 2 0x5
shift + 27: op_store_my_field 1 0x5
shift + 29: op_pop 1 0x5
shift + 30: op_push_my_field 0 0x44394c4
shift + 32: op_meta_push_1 1 0x5
shift + 33: op_meta_send_op_minus 2 0x5
shift + 34: op_store_my_field 1 0x1
shift + 36: op_pop 1 0x1
shift + 37: op_push_local 0 0x44394c4
shift + 39: op_ret 1 0x44394c4
initialize + 5: op_push_nil 1 0x44394c4
initialize + 6: op_push_nil 2 0xe
initialize + 7: op_send_super_stack_with_splat 3 0xe
initialize + 1: op_push_local 0 0x443d714
initialize + 3: op_send_method 1 0x443d714
shift + 1: op_push_my_field 0 0xe
shift + 3: op_meta_push_0 1 0x5
shift + 4: op_meta_send_op_equal 2 0x1
shift + 5: op_goto_if_false 1 0x6
shift + 11: op_push_nil 0 0xe
shift + 12: op_pop 1 0xe
shift + 13: op_push_my_field 0 0xe
shift + 15: op_push_my_field 1 0x443d764
shift + 17: op_send_stack 2 0x1
shift + 20: op_set_local 1 0x44394c4
shift + 22: op_pop 1 0x44394c4
shift + 23: op_push_my_field 0 0x44394c4
shift + 25: op_meta_push_1 1 0x1
shift + 26: op_meta_send_op_plus 2 0x5
shift + 27: op_store_my_field 1 0x5
shift + 29: op_pop 1 0x5
shift + 30: op_push_my_field 0 0x44394c4
shift + 32: op_meta_push_1 1 0x5
shift + 33: op_meta_send_op_minus 2 0x5
shift + 34: op_store_my_field 1 0x1
shift + 36: op_pop 1 0x1
shift + 37: op_push_local 0 0x44394c4
shift + 39: op_ret 1 0x44394c4
initialize + 5: op_push_nil 1 0x44394c4
initialize + 6: op_push_nil 2 0xe
initialize + 7: op_send_super_stack_with_splat 3 0xe
initialize + 1: op_passed_arg 0 0x44394c4
initialize + 3: op_goto_if_true 1 0xa
initialize + 9: op_push_local 0 0x44394c4
initialize + 11: op_store_my_field 1 0x44394c4
initialize + 13: op_pop 1 0x44394c4
initialize + 14: op_push_nil 0 0x44394c4
initialize + 15: op_store_my_field 1 0xe
initialize + 17: op_pop 1 0xe
initialize + 18: op_push_nil 0 0x44394c4
initialize + 19: op_set_ivar 1 0xe
initialize + 21: op_ret 1 0xe
initialize + 10: op_pop 1 0xe
initialize + 11: op_push_local 0 0x443d714
initialize + 13: op_send_method 1 0x443d714
shift + 1: op_push_my_field 0 0xe
shift + 3: op_meta_push_0 1 0x1
shift + 4: op_meta_send_op_equal 2 0x1
shift + 5: op_goto_if_false 1 0xa
shift + 7: op_push_nil 0 0xe
shift + 8: op_ret 1 0xe
initialize + 15: op_set_ivar 1 0xe
initialize + 17: op_ret 1 0xe
initialize + 10: op_pop 1 0xe
initialize + 11: op_push_local 0 0x443c544
initialize + 13: op_send_method 1 0x443c544
shift + 1: op_push_my_field 0 0xe
shift + 3: op_meta_push_0 1 0x1
shift + 4: op_meta_send_op_equal 2 0x1
shift + 5: op_goto_if_false 1 0xa
shift + 7: op_push_nil 0 0xe
shift + 8: op_ret 1 0xe
initialize + 15: op_set_ivar 1 0xe
initialize + 17: op_pop 1 0xe
initialize + 18: op_push_local 0 0x443c544
initialize + 20: op_send_method 1 0x443c544
shift + 1: op_push_my_field 0 0xe
shift + 3: op_meta_push_0 1 0x1
shift + 4: op_meta_send_op_equal 2 0x1
shift + 5: op_goto_if_false 1 0xa
shift + 7: op_push_nil 0 0xe
shift + 8: op_ret 1 0xe
initialize + 22: op_set_ivar 1 0xe
initialize + 24: op_ret 1 0xe
new + 19: op_pop 3 0xe
new + 20: op_pop 2 0xe
new + 21: op_push_local 1 0x443bfc4
new + 23: op_ret 2 0x443bfc4
exception + 15: op_ret 1 0x443bfc4
raise + 80: op_set_local 6 0x443bfc4
raise + 82: op_pop 6 0x443bfc4
raise + 83: op_push_local 5 0xe
raise + 85: op_push_cpath_top 6 0x443bfc4
raise + 86: op_find_const 7 0x1800030
raise + 88: op_send_stack 7 0x180689c
raise + 91: op_goto_if_true 6 0xa
raise + 107: op_push_nil 5 0xe
raise + 108: op_pop 6 0xe
raise + 109: op_push_local 5 0xe
raise + 111: op_goto_if_false 6 0xe
raise + 122: op_push_nil 5 0xe
raise + 123: op_goto 6 0xe
raise + 170: op_pop 6 0xe
raise + 171: op_push_cpath_top 5 0xe
raise + 172: op_find_const 6 0x1800030
raise + 174: op_push_literal 6 0x3524b94
raise + 176: op_send_stack 7 0x391b
[] + 1: op_push_ivar 0 0x391b
[] + 3: op_push_local 1 0x3525b74
[] + 5: op_send_stack 2 0x391b
[] + 8: op_goto_if_false 1 0xa
[] + 10: op_push_ivar 0 0x391b
[] + 12: op_push_local 1 0x3525b74
[] + 14: op_send_stack 2 0x391b
[] + 17: op_goto 1 0x6
[] + 69: op_ret 1 0x6
raise + 179: op_dup_top 6 0x6
raise + 180: op_goto_if_false 7 0x6
raise + 199: op_goto_if_false 6 0x6
raise + 255: op_push_nil 5 0xe
raise + 256: op_pop 6 0xe
raise + 257: op_push_local 5 0xe
raise + 259: op_goto_if_true 6 0x6
raise + 261: op_push_local 5 0xe
raise + 263: op_send_method 6 0x443bfc4
context + 1: op_push_my_field -1 0x10
context + 3: op_ret 0 0xe
raise + 265: op_goto_if_true 6 0xe
raise + 267: op_push_local 5 0xe
raise + 269: op_push_const 6 0x443bfc4
raise + 271: op_send_method 7 0x1804684
current + 1: op_push_context 1 0xe
current + 2: op_set_local 2 0x4441fb4
current + 4: op_pop 2 0x4441fb4
current + 5: op_push_local 1 0xe
current + 7: op_send_method 2 0x4441fb4
sender + 1: op_push_my_field -1 0x10
sender + 3: op_ret 0 0x4439a14
current + 9: op_ret 2 0x4439a14
raise + 273: op_send_method 7 0x4439a14
sender + 1: op_push_my_field -1 0x10
sender + 3: op_ret 0 0x4438764
raise + 275: op_send_stack 7 0x4438764
context= + 1: op_push_local 0 0x4438764
context= + 3: op_store_my_field 1 0x4438764
context= + 5: op_ret 1 0x4438764
raise + 278: op_goto 6 0x4438764
raise + 281: op_goto 6 0x4438764
raise + 284: op_pop 6 0x4438764
raise + 285: op_push_local 5 0xe
raise + 287: op_raise_exc 6 0x443bfc4
__halt__ + 1: op_halt -1 0x10
VM Assertion:
  exception detected at toplevel: Unable to send + on (NoMethodError)
2 vm 0x00008ce8 rubinius::VMException::VMException() + 30
3 vm 0x00009b45 rubinius::Assertion::Assertion(char const*) + 17
4 vm 0x00009b72 rubinius::Assertion::Assertion(char const*) + 24
5 vm 0x00008dd1 rubinius::Assertion::raise(char const*) + 47
6 vm 0x0000611e rubinius::Environment::run_file(std::string) + 1054
7 vm 0x000063df rubinius::Environment::load_directory(std::string) + 633
8 vm 0x000667a8 rubinius::Message::reset() + 526
9 vm 0x00066a35 main + 385
10 vm 0x00002436 start + 54
Ruby backtrace:
0x4438764: Kernel#method_missing:67 in kernel/bootstrap/kernel.rb
0x4433b74: Hash#[]=:89 in kernel/common/hash.rb
0x4412074: Hash.[]:19 in kernel/common/hash.rb
0x43088e4: Moment.__class_init__:205 in kernel/common/moment.rb
0x4307f24: Object#__script__:4 in kernel/common/moment.rb
0x42de1f4: Object#__trampoline__:-3 in @next