6
6
7
7
local_get_no_local_type:
8
8
.functype local_get_no_local_type () -> ()
9
- # FIXME: Error location should be at operand.
10
- # CHECK: :[[@LINE+1]]:3: error: no local type specified for index 0
9
+ # CHECK: :[[@LINE+1]]:13: error: no local type specified for index 0
11
10
local.get 0
12
11
end_function
13
12
14
13
local_set_no_local_type:
15
14
.functype local_set_no_local_type () -> ()
16
- # FIXME: Error location should be at operand.
17
- # CHECK: :[[@LINE+1]]:3: error: no local type specified for index 0
15
+ # CHECK: :[[@LINE+1]]:13: error: no local type specified for index 0
18
16
local.set 0
19
17
end_function
20
18
@@ -35,8 +33,7 @@ local_set_type_mismatch:
35
33
36
34
local_tee_no_local_type:
37
35
.functype local_tee_no_local_type () -> ()
38
- # FIXME: Error location should be at operand.
39
- # CHECK: :[[@LINE+1]]:3: error: no local type specified for index 0
36
+ # CHECK: :[[@LINE+1]]:13: error: no local type specified for index 0
40
37
local.tee 0
41
38
end_function
42
39
@@ -57,29 +54,27 @@ local_tee_type_mismatch:
57
54
58
55
global_get_missing_globaltype:
59
56
.functype global_get_missing_globaltype () -> ()
60
- # FIXME: Error location should be at operand.
61
- # CHECK: :[[@LINE+1]]:3 : error: symbol foo missing .globaltype
57
+ # FIXME: Error location should be at beginning of operand.
58
+ # CHECK: :[[@LINE+1]]:17 : error: symbol foo missing .globaltype
62
59
global.get foo
63
60
end_function
64
61
65
62
global_get_expected_expression_operand:
66
63
.functype global_get_expected_expression_operand () -> ()
67
- # FIXME: Error location should be at operand.
68
- # CHECK: :[[@LINE+1]]:3: error: expected expression operand
64
+ # CHECK: :[[@LINE+1]]:14: error: expected expression operand
69
65
global.get 1
70
66
end_function
71
67
72
68
global_set_missing_globaltype:
73
69
.functype global_set_missing_globaltype () -> ()
74
- # FIXME: Error location should be at operand.
75
- # CHECK: :[[@LINE+1]]:3 : error: symbol foo missing .globaltype
70
+ # FIXME: Error location should be at beginning of operand.
71
+ # CHECK: :[[@LINE+1]]:17 : error: symbol foo missing .globaltype
76
72
global.set foo
77
73
end_function
78
74
79
75
global_set_expected_expression_operand:
80
76
.functype global_set_expected_expression_operand () -> ()
81
- # FIXME: Error location should be at operand.
82
- # CHECK: :[[@LINE+1]]:3: error: expected expression operand
77
+ # CHECK: :[[@LINE+1]]:14: error: expected expression operand
83
78
global.set 1
84
79
end_function
85
80
@@ -100,15 +95,14 @@ global_set_type_mismatch:
100
95
101
96
table_get_expected_expression_operand:
102
97
.functype table_get_expected_expression_operand () -> ()
103
- # FIXME: Error location should be at operand.
104
- # CHECK: :[[@LINE+1]]:3: error: expected expression operand
98
+ # CHECK: :[[@LINE+1]]:13: error: expected expression operand
105
99
table.get 1
106
100
end_function
107
101
108
102
table_get_missing_tabletype:
109
103
.functype table_get_missing_tabletype () -> ()
110
- # FIXME: Error location should be at operand.
111
- # CHECK: :[[@LINE+1]]:3 : error: symbol foo missing .tabletype
104
+ # FIXME: Error location should be at beginning of operand.
105
+ # CHECK: :[[@LINE+1]]:16 : error: symbol foo missing .tabletype
112
106
table.get foo
113
107
end_function
114
108
@@ -129,15 +123,14 @@ table_get_type_mismatch:
129
123
130
124
table_set_expected_expression_operand:
131
125
.functype table_set_expected_expression_operand () -> ()
132
- # FIXME: Error location should be at operand.
133
- # CHECK: :[[@LINE+1]]:3: error: expected expression operand
126
+ # CHECK: :[[@LINE+1]]:13: error: expected expression operand
134
127
table.set 1
135
128
end_function
136
129
137
130
table_set_missing_tabletype:
138
131
.functype table_set_missing_tabletype () -> ()
139
- # FIXME: Error location should be at operand .
140
- # CHECK: :[[@LINE+1]]:3 : error: symbol foo missing .tabletype
132
+ # FIXME: Error location should be at beginning ofoperand .
133
+ # CHECK: :[[@LINE+1]]:16 : error: symbol foo missing .tabletype
141
134
table.set foo
142
135
end_function
143
136
@@ -171,15 +164,14 @@ table_set_type_mismatch_2:
171
164
172
165
table_fill_expected_expression_operand:
173
166
.functype table_fill_expected_expression_operand () -> ()
174
- # FIXME: Error location should be at operand.
175
- # CHECK: :[[@LINE+1]]:3: error: expected expression operand
167
+ # CHECK: :[[@LINE+1]]:14: error: expected expression operand
176
168
table.fill 1
177
169
end_function
178
170
179
171
table_fill_missing_tabletype:
180
172
.functype table_fill_missing_tabletype () -> ()
181
- # FIXME: Error location should be at operand.
182
- # CHECK: :[[@LINE+1]]:3 : error: symbol foo missing .tabletype
173
+ # FIXME: Error location should be at beginning of operand.
174
+ # CHECK: :[[@LINE+1]]:17 : error: symbol foo missing .tabletype
183
175
table.fill foo
184
176
end_function
185
177
@@ -397,8 +389,7 @@ return_call_indirect_empty_stack_while_popping_2:
397
389
398
390
call_expected_expression_operand:
399
391
.functype call_expected_expression_operand () -> ()
400
- # FIXME: Error location should be at operand.
401
- # CHECK: :[[@LINE+1]]:3: error: expected expression operand
392
+ # CHECK: :[[@LINE+1]]:8: error: expected expression operand
402
393
call 1
403
394
end_function
404
395
@@ -427,14 +418,14 @@ call_superfluous_value_at_end:
427
418
428
419
call_missing_functype:
429
420
.functype call_missing_functype () -> ()
430
- # CHECK: :[[@LINE+1]]:3: error: symbol no_functype missing .functype
421
+ # FIXME: Error location should be at beginning of operand.
422
+ # CHECK: :[[@LINE+1]]:19: error: symbol no_functype missing .functype
431
423
call no_functype
432
424
end_function
433
425
434
426
return_call_expected_expression_operand:
435
427
.functype return_call_expected_expression_operand () -> ()
436
- # FIXME: Error location should be at operand.
437
- # CHECK: :[[@LINE+1]]:3: error: expected expression operand
428
+ # CHECK: :[[@LINE+1]]:15: error: expected expression operand
438
429
return_call 1
439
430
end_function
440
431
@@ -453,25 +444,24 @@ return_call_type_mismatch:
453
444
454
445
return_call_missing_functype:
455
446
.functype return_call_missing_functype () -> ()
456
- # FIXME: Error location should be at operand.
457
- # CHECK: :[[@LINE+1]]:3 : error: symbol no_functype missing .functype
447
+ # FIXME: Error location should be at beginning of operand.
448
+ # CHECK: :[[@LINE+1]]:26 : error: symbol no_functype missing .functype
458
449
return_call no_functype
459
450
end_function
460
451
461
452
catch_expected_expression_operand:
462
453
.functype catch_expected_expression_operand () -> ()
463
454
try
464
- # FIXME: Error location should be at operand.
465
- # CHECK: :[[@LINE+1]]:3: error: expected expression operand
455
+ # CHECK: :[[@LINE+1]]:9: error: expected expression operand
466
456
catch 1
467
457
end_try
468
458
end_function
469
459
470
460
catch_missing_tagtype:
471
461
.functype catch_missing_tagtype () -> ()
472
462
try
473
- # FIXME: Error location should be at operand.
474
- # CHECK: :[[@LINE+1]]:3 : error: symbol no_tagtype missing .tagtype
463
+ # FIXME: Error location should be at beginning of operand.
464
+ # CHECK: :[[@LINE+1]]:19 : error: symbol no_tagtype missing .tagtype
475
465
catch no_tagtype
476
466
end_try
477
467
end_function
0 commit comments