| OLD | NEW |
| 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
| 3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 [ $compiler == dartanalyzer ] | 5 [ $compiler == dartanalyzer ] |
| 6 | 6 |
| 7 # Runtime negative test. No static errors or warnings. | 7 # Runtime negative test. No static errors or warnings. |
| 8 closure_call_wrong_argument_count_negative_test: skip | 8 closure_call_wrong_argument_count_negative_test: skip |
| 9 | 9 |
| 10 | 10 |
| 11 #argument_definition_test/01: fail # issue 11565 (passing for the wrong reason) | 11 #argument_definition_test/01: fail # issue 11565 (passing for the wrong reason) |
| 12 | 12 |
| 13 illegal_invocation_test/01: fail # Issue: 11892 | 13 illegal_invocation_test/01: fail # Issue: 11892 |
| 14 | 14 |
| 15 # TBF: a.imethod = () { return 1; }; | |
| 16 assign_instance_method_negative_test: fail | |
| 17 | |
| 18 # TBF: m([int p = 'String']) | 15 # TBF: m([int p = 'String']) |
| 19 assign_static_type_test/06: fail | 16 assign_static_type_test/06: fail |
| 20 | 17 |
| 21 # TBD: using built-in identifers | 18 # TBD: using built-in identifers |
| 22 built_in_identifier_prefix_test: fail | 19 built_in_identifier_prefix_test: fail |
| 23 | 20 |
| 24 # TBF: (o as C) is not rolled back | 21 # TBF: (o as C) is not rolled back |
| 25 cast_test/04: fail | 22 cast_test/04: fail |
| 26 cast_test/05: fail | 23 cast_test/05: fail |
| 27 | 24 |
| 28 # TBF: It is a compile-time error if the superclass of a class C appears in the
implements clause of C. | 25 # TBF: It is a compile-time error if the superclass of a class C appears in the
implements clause of C. |
| 29 closure_call_wrong_argument_count_negative_test: fail | |
| 30 const_constructor_super_test/01: fail | 26 const_constructor_super_test/01: fail |
| 31 compile_time_constant10_test/none: fail | 27 compile_time_constant10_test/none: fail |
| 32 compile_time_constant_c_test/01: fail | 28 compile_time_constant_c_test/01: fail |
| 33 | 29 |
| 34 # TBF: m([int p = 'String']) and call 'const' instance creation | 30 # TBF: m([int p = 'String']) and call 'const' instance creation |
| 35 compile_time_constant_checked2_test/03: fail | 31 compile_time_constant_checked2_test/03: fail |
| 36 compile_time_constant_checked3_test/03: fail | 32 compile_time_constant_checked3_test/03: fail |
| 37 | 33 |
| 38 # TBF: not initialized final instance variable | |
| 39 constructor2_negative_test: fail | |
| 40 constructor3_negative_test: fail | |
| 41 constructor_call_wrong_argument_count_negative_test: fail | |
| 42 constructor_initializer_test: fail # uses argument definition test | |
| 43 constructor_negative_test: fail | |
| 44 | |
| 45 # TBF: It is a static type warning if a type parameter is a supertype of its upp
er bound. | 34 # TBF: It is a static type warning if a type parameter is a supertype of its upp
er bound. |
| 46 cyclic_type_variable_test/01: fail | 35 cyclic_type_variable_test/01: fail |
| 47 cyclic_type_variable_test/02: fail | 36 cyclic_type_variable_test/02: fail |
| 48 cyclic_type_variable_test/03: fail | 37 cyclic_type_variable_test/03: fail |
| 49 cyclic_type_variable_test/04: fail | 38 cyclic_type_variable_test/04: fail |
| 50 | 39 |
| 51 # TBF: It is a static type warning if any of the type arguments to k' are not su
btypes of the bounds of the corresponding formal type parameters of type. | 40 # TBF: It is a static type warning if any of the type arguments to k' are not su
btypes of the bounds of the corresponding formal type parameters of type. |
| 52 default_factory2_test/01: fail | 41 default_factory2_test/01: fail |
| 53 | 42 |
| 54 # TBF: It is a static warning if the function type of k' is not a subtype of the
type of k. | 43 # TBF: It is a static warning if the function type of k' is not a subtype of the
type of k. |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 pseudo_kw_test: fail | 80 pseudo_kw_test: fail |
| 92 | 81 |
| 93 # TBF: hiding at start of the block and declared after declaration statement | 82 # TBF: hiding at start of the block and declared after declaration statement |
| 94 scope_negative_test: fail | 83 scope_negative_test: fail |
| 95 | 84 |
| 96 # TBF: 'instance.staticMethod()' is static warning | 85 # TBF: 'instance.staticMethod()' is static warning |
| 97 static_field_test/01: fail | 86 static_field_test/01: fail |
| 98 static_field_test/02: fail | 87 static_field_test/02: fail |
| 99 static_field_test/03: fail | 88 static_field_test/03: fail |
| 100 | 89 |
| 101 # TBF: A constant variable is always implicitly nal. | |
| 102 static_final_field2_negative_test: fail | |
| 103 | |
| 104 library_ambiguous_test/04: Fail # TBF: Issue 12106 | 90 library_ambiguous_test/04: Fail # TBF: Issue 12106 |
| 105 | 91 |
| 106 | 92 |
| 107 | 93 |
| 108 | 94 |
| 109 # test issue 10683, It is a compile-time error if e refers to the name v or the
name v=. | 95 # test issue 10683, It is a compile-time error if e refers to the name v or the
name v=. |
| 110 block_scope_test: fail | 96 block_scope_test: fail |
| 111 lazy_static3_test: fail | 97 lazy_static3_test: fail |
| 112 | 98 |
| 113 # test issue 10889, "throw" requires expression, "rethrow" should be used instea
d | 99 # test issue 10889, "throw" requires expression, "rethrow" should be used instea
d |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 # test issue 11582, non-final field with 'const' constructor | 199 # test issue 11582, non-final field with 'const' constructor |
| 214 compile_time_constant10_test/none: fail | 200 compile_time_constant10_test/none: fail |
| 215 | 201 |
| 216 # test issue 11583, int is valid key for constant map literal | 202 # test issue 11583, int is valid key for constant map literal |
| 217 compile_time_constant_c_test/01: fail | 203 compile_time_constant_c_test/01: fail |
| 218 | 204 |
| 219 # test issue 11584, positional arguments cannot be used for named parameters | 205 # test issue 11584, positional arguments cannot be used for named parameters |
| 220 compile_time_constant_e_test: fail | 206 compile_time_constant_e_test: fail |
| 221 | 207 |
| 222 # test issue 11585, static warning, not negative test | 208 # test issue 11585, static warning, not negative test |
| 223 constructor3_negative_test: fail # issue 11585 | 209 constructor3_negative_test: fail |
| 224 constructor_call_wrong_argument_count_negative_test: fail | 210 constructor_call_wrong_argument_count_negative_test: fail |
| 225 instance_call_wrong_argument_count_negative_test: fail | 211 instance_call_wrong_argument_count_negative_test: fail |
| 226 | 212 |
| 227 # test issue 11586, Class(args) is compile-time warning, not error | 213 # test issue 11586, Class(args) is compile-time warning, not error |
| 228 constructor_negative_test: fail | 214 constructor_negative_test: fail |
| 229 | 215 |
| 230 # test issue 11589, export D from 2 export directives | 216 # test issue 11589, export D from 2 export directives |
| 231 export_cyclic_test: fail | 217 export_cyclic_test: fail |
| 232 | 218 |
| 233 # test issue 11590, runtime only negative test | 219 # test issue 11590, runtime only negative test |
| (...skipping 23 matching lines...) Expand all Loading... |
| 257 is_not_class2_negative_test: fail | 243 is_not_class2_negative_test: fail |
| 258 | 244 |
| 259 # test issue 11597, It is a compile-time error if part has no "part of" directiv
e | 245 # test issue 11597, It is a compile-time error if part has no "part of" directiv
e |
| 260 library_juxtaposition_test: fail | 246 library_juxtaposition_test: fail |
| 261 | 247 |
| 262 # test issue 11598, Any use of a malbounded type gives rise to a static warning | 248 # test issue 11598, Any use of a malbounded type gives rise to a static warning |
| 263 mixin_type_parameters_errors_test/01: fail | 249 mixin_type_parameters_errors_test/01: fail |
| 264 mixin_type_parameters_errors_test/02: fail | 250 mixin_type_parameters_errors_test/02: fail |
| 265 mixin_type_parameters_errors_test/05: fail | 251 mixin_type_parameters_errors_test/05: fail |
| 266 | 252 |
| 253 # test issue 11698, no setter, so warning, not error |
| 254 assign_instance_method_negative_test: fail |
| 255 |
| 267 # test issue 11918: mixin and const constructor | 256 # test issue 11918: mixin and const constructor |
| 268 const_constructor_mixin_test/01: fail | 257 const_constructor_mixin_test/01: fail |
| 269 const_constructor_mixin3_test/01: fail | 258 const_constructor_mixin3_test/01: fail |
| 270 | 259 |
| 271 # test issue 11958, fails only at runtime | 260 # test issue 11958, fails only at runtime |
| 272 no_such_method_negative_test: fail | 261 no_such_method_negative_test: fail |
| 273 | 262 |
| 274 # test issue 11962, it is warning, not error to reference undeclared identifier | 263 # test issue 11962, it is warning, not error to reference undeclared identifier |
| 275 prefix1_negative_test: fail | 264 prefix1_negative_test: fail |
| 276 prefix2_negative_test: fail | 265 prefix2_negative_test: fail |
| (...skipping 10 matching lines...) Expand all Loading... |
| 287 prefix11_negative_test: fail | 276 prefix11_negative_test: fail |
| 288 | 277 |
| 289 # test issue 11965, 'source' is not built-in identifier anymore | 278 # test issue 11965, 'source' is not built-in identifier anymore |
| 290 pseudo_kw_illegal_test/14: fail | 279 pseudo_kw_illegal_test/14: fail |
| 291 | 280 |
| 292 # test issue 12156, fails only at runtime | 281 # test issue 12156, fails only at runtime |
| 293 static_call_wrong_argument_count_negative_test: fail | 282 static_call_wrong_argument_count_negative_test: fail |
| 294 | 283 |
| 295 # test issue 12157, uninitializer instance variable is warning, so not negative
test | 284 # test issue 12157, uninitializer instance variable is warning, so not negative
test |
| 296 static_final_field_negative_test: fail | 285 static_final_field_negative_test: fail |
| 286 constructor2_negative_test: fail |
| 297 | 287 |
| 298 # test issue 12158, 'native' is not in spec, so analyzer does not generate compi
le-time error | 288 # test issue 12158, 'native' is not in spec, so analyzer does not generate compi
le-time error |
| 299 syntax_test/28: fail | 289 syntax_test/28: fail |
| 300 syntax_test/29: fail | 290 syntax_test/29: fail |
| 301 syntax_test/30: fail | 291 syntax_test/30: fail |
| 302 syntax_test/31: fail | 292 syntax_test/31: fail |
| 303 syntax_test/32: fail | 293 syntax_test/32: fail |
| 304 syntax_test/33: fail | 294 syntax_test/33: fail |
| 305 | 295 |
| 306 # test issue 12159, print(exception.message_); causes static warning, not an err
or | 296 # test issue 12159, print(exception.message_); causes static warning, not an err
or |
| (...skipping 10 matching lines...) Expand all Loading... |
| 317 type_variable_bounds2_test/02: fail | 307 type_variable_bounds2_test/02: fail |
| 318 type_variable_bounds2_test/03: fail | 308 type_variable_bounds2_test/03: fail |
| 319 type_variable_bounds2_test/04: fail | 309 type_variable_bounds2_test/04: fail |
| 320 type_variable_bounds2_test/06: fail | 310 type_variable_bounds2_test/06: fail |
| 321 | 311 |
| 322 # test issue 12163, unresolved identifier is static warning in static context | 312 # test issue 12163, unresolved identifier is static warning in static context |
| 323 unresolved_in_factory_negative_test: fail | 313 unresolved_in_factory_negative_test: fail |
| 324 unresolved_top_level_method_negative_test: fail | 314 unresolved_top_level_method_negative_test: fail |
| 325 unresolved_top_level_var_negative_test: fail | 315 unresolved_top_level_var_negative_test: fail |
| 326 | 316 |
| 317 # test issue 12181, uses argument definition test |
| 318 constructor_initializer_test: fail |
| 319 |
| 320 # test issue 12184, It is static warning, not error, to assign to a constant var
iable. |
| 321 static_final_field2_negative_test: fail |
| 322 |
| 327 [ $compiler == dartanalyzer && $checked ] | 323 [ $compiler == dartanalyzer && $checked ] |
| 328 factory1_test/00: fail | 324 factory1_test/00: fail |
| 329 factory1_test/01: fail | 325 factory1_test/01: fail |
| 330 field_type_check2_test/01: fail | 326 field_type_check2_test/01: fail |
| 331 factory_implementation_test/00: fail | 327 factory_implementation_test/00: fail |
| 332 factory_redirection_test/08: fail | 328 factory_redirection_test/08: fail |
| 333 factory_redirection_test/09: fail | 329 factory_redirection_test/09: fail |
| 334 factory_redirection_test/10: fail | 330 factory_redirection_test/10: fail |
| 335 factory_redirection_test/11: fail | 331 factory_redirection_test/11: fail |
| 336 factory_redirection_test/12: fail | 332 factory_redirection_test/12: fail |
| 337 factory_redirection_test/13: fail | 333 factory_redirection_test/13: fail |
| 338 factory_redirection_test/14: fail | 334 factory_redirection_test/14: fail |
| 339 getters_setters2_test/03: fail | 335 getters_setters2_test/03: fail |
| 340 type_variable_bounds3_test/00: fail | 336 type_variable_bounds3_test/00: fail |
| 341 type_variable_bounds2_test/05: fail | 337 type_variable_bounds2_test/05: fail |
| 342 | 338 |
| OLD | NEW |