| 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 |
| 7 # Runtime negative test. No static errors or warnings. |
| 8 closure_call_wrong_argument_count_negative_test: skip |
| 9 |
| 10 |
| 6 #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) |
| 7 | 12 |
| 8 illegal_invocation_test/01: fail # Issue: 11892 | 13 illegal_invocation_test/01: fail # Issue: 11892 |
| 9 | 14 |
| 10 # test issue 11581, it is not warning to call dynamic | |
| 11 call_through_getter_test: fail | |
| 12 | |
| 13 # test issue 11582, non-final field with 'const' constructor | |
| 14 compile_time_constant10_test/none: fail | |
| 15 | |
| 16 # test issue 11583, int is valid key for constant map literal | |
| 17 compile_time_constant_c_test/01: fail | |
| 18 | |
| 19 # test issue 11589, export D from 2 export directives | |
| 20 export_cyclic_test: fail | |
| 21 | |
| 22 # test issue 11580, Function is not a malformed type | |
| 23 black_listed_test/11: fail | |
| 24 | |
| 25 # test issue 11584, positional arguments cannot be used for named parameters | |
| 26 compile_time_constant_e_test: fail | |
| 27 | |
| 28 # test issue 11585, static warning, not negative test | |
| 29 constructor3_negative_test: fail # issue 11585 | |
| 30 constructor_call_wrong_argument_count_negative_test: fail | |
| 31 instance_call_wrong_argument_count_negative_test: fail | |
| 32 | |
| 33 # test issue 11586, Class(args) is compile-time warning, not error | |
| 34 constructor_negative_test: fail | |
| 35 | |
| 36 # test issue 11590, runtime only negative test | |
| 37 field_method4_negative_test: fail | |
| 38 | |
| 39 # test issue 11591, assigning to the final variable is warning, not error | |
| 40 final_for_in_variable_test/01: fail | |
| 41 final_param_negative_test: fail | |
| 42 final_var_negative_test: fail | |
| 43 final_variable_assignment_test/01: fail | |
| 44 final_variable_assignment_test/02: fail | |
| 45 final_variable_assignment_test/03: fail | |
| 46 final_variable_assignment_test/04: fail | |
| 47 getter_no_setter_test/01: fail | |
| 48 | |
| 49 # test issue 11592, Function type alias (typedef) is not a constant | |
| 50 first_class_types_constants_test: fail | |
| 51 | |
| 52 # test issue 11594, Reference to a not resolve identifier is static warning | |
| 53 import_combinators_negative_test: fail | |
| 54 interface_static_non_final_fields_negative_test: fail | |
| 55 | |
| 56 # test issue 11595, It is static warning to create instance (new) of the malform
ed type | |
| 57 instantiate_type_variable_negative_test: fail | |
| 58 | |
| 59 # test issue 11596. e is Unknown is not a compile time error | |
| 60 is_not_class2_negative_test: fail | |
| 61 | |
| 62 # test issue 11597, It is a compile-time error if part has no "part of" directiv
e | |
| 63 library_juxtaposition_test: fail | |
| 64 | |
| 65 # test issue 11598, Any use of a malbounded type gives rise to a static warn
ing | |
| 66 mixin_type_parameters_errors_test/01: fail | |
| 67 mixin_type_parameters_errors_test/02: fail | |
| 68 mixin_type_parameters_errors_test/05: fail | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 # TBF: a.imethod = () { return 1; }; | 15 # TBF: a.imethod = () { return 1; }; |
| 74 assign_instance_method_negative_test: fail | 16 assign_instance_method_negative_test: fail |
| 75 | 17 |
| 76 # TBF: m([int p = 'String']) | 18 # TBF: m([int p = 'String']) |
| 77 assign_static_type_test/06: fail | 19 assign_static_type_test/06: fail |
| 78 | 20 |
| 79 # TBD: using built-in identifers | 21 # TBD: using built-in identifers |
| 80 built_in_identifier_prefix_test: fail | 22 built_in_identifier_prefix_test: fail |
| 81 | 23 |
| 82 # TBF: (o as C) is not rolled back | 24 # TBF: (o as C) is not rolled back |
| 83 cast_test/04: fail | 25 cast_test/04: fail |
| 84 cast_test/05: fail | 26 cast_test/05: fail |
| 85 | 27 |
| 86 # TBF: It is a compile-time error if the superclass of a class C appears in the
implements clause of C. | 28 # TBF: It is a compile-time error if the superclass of a class C appears in the
implements clause of C. |
| 87 closure_call_wrong_argument_count_negative_test: fail | 29 closure_call_wrong_argument_count_negative_test: fail |
| 88 const_constructor_super_test/01: fail | 30 const_constructor_super_test/01: fail |
| 89 compile_time_constant10_test/none: fail | 31 compile_time_constant10_test/none: fail |
| 90 compile_time_constant_c_test/01: fail | 32 compile_time_constant_c_test/01: fail |
| 91 | 33 |
| 92 # Runtime negative test. No static errors or warnings. | |
| 93 closure_call_wrong_argument_count_negative_test: skip | |
| 94 | |
| 95 # TBF: m([int p = 'String']) and call 'const' instance creation | 34 # TBF: m([int p = 'String']) and call 'const' instance creation |
| 96 compile_time_constant_checked2_test/03: fail | 35 compile_time_constant_checked2_test/03: fail |
| 97 compile_time_constant_checked3_test/03: fail | 36 compile_time_constant_checked3_test/03: fail |
| 98 | 37 |
| 99 # TBF: not initialized final instance variable | 38 # TBF: not initialized final instance variable |
| 100 constructor2_negative_test: fail | 39 constructor2_negative_test: fail |
| 101 constructor3_negative_test: fail | 40 constructor3_negative_test: fail |
| 102 constructor_call_wrong_argument_count_negative_test: fail | 41 constructor_call_wrong_argument_count_negative_test: fail |
| 103 constructor_initializer_test: fail # uses argument definition test | 42 constructor_initializer_test: fail # uses argument definition test |
| 104 constructor_negative_test: fail | 43 constructor_negative_test: fail |
| (...skipping 13 matching lines...) Expand all Loading... |
| 118 # TBD: F-bounded quantification | 57 # TBD: F-bounded quantification |
| 119 f_bounded_quantification_test/01: fail | 58 f_bounded_quantification_test/01: fail |
| 120 f_bounded_quantification_test/02: fail | 59 f_bounded_quantification_test/02: fail |
| 121 | 60 |
| 122 function_type_alias6_test/00: fail # Issue 11987 | 61 function_type_alias6_test/00: fail # Issue 11987 |
| 123 function_type_alias9_test/00: crash # Issue 11987 | 62 function_type_alias9_test/00: crash # Issue 11987 |
| 124 list_literal_syntax_test/01: fail # Issue 12103 | 63 list_literal_syntax_test/01: fail # Issue 12103 |
| 125 list_literal_syntax_test/02: fail # Issue 12103 | 64 list_literal_syntax_test/02: fail # Issue 12103 |
| 126 list_literal_syntax_test/03: fail # Issue 12103 | 65 list_literal_syntax_test/03: fail # Issue 12103 |
| 127 malformed_test/none: fail | 66 malformed_test/none: fail |
| 67 |
| 68 # TBF: disallowed in the most recent spec |
| 128 named_parameters_aggregated_test/03: fail | 69 named_parameters_aggregated_test/03: fail |
| 129 no_such_method_negative_test: fail | 70 |
| 71 # TBF: non-const superinitializer; 7.6.3 Constant Constructors: The superinitial
izer that appears, explicitly or implicitly, in the initializer list of a consta
nt constructor must specify a constant constructor of the superclass of the imme
diately enclosing class. |
| 130 non_const_super_negative_test: fail | 72 non_const_super_negative_test: fail |
| 73 |
| 74 # TBF: 1is int; invalid character in number |
| 131 number_identifier_negative_test: fail | 75 number_identifier_negative_test: fail |
| 76 |
| 77 # TBF: we should check conflicts not only for methods, but for accessors too |
| 132 override_field_test/01: fail | 78 override_field_test/01: fail |
| 133 override_field_test/02: fail | 79 override_field_test/02: fail |
| 134 override_field_test/03: fail | 80 override_field_test/03: fail |
| 81 |
| 82 # TBF: prefix T hidden by type variable T in 'new T.Class()' |
| 135 prefix10_negative_test: fail | 83 prefix10_negative_test: fail |
| 136 prefix11_negative_test: fail | 84 |
| 137 prefix12_negative_test: fail | 85 # TBF: no error if A in our library, B extends A in other library, reference B._
private from Test extends B in our library. |
| 138 prefix1_negative_test: fail | |
| 139 prefix2_negative_test: fail | |
| 140 prefix4_negative_test: fail | |
| 141 prefix5_negative_test: fail | |
| 142 prefix6_negative_test: fail | |
| 143 prefix8_negative_test: fail | |
| 144 prefix9_negative_test: fail | |
| 145 private_member1_negative_test: fail | 86 private_member1_negative_test: fail |
| 146 private_member2_negative_test: fail | 87 private_member2_negative_test: fail |
| 147 private_member3_negative_test: fail | 88 private_member3_negative_test: fail |
| 148 pseudo_kw_illegal_test/14: fail | 89 |
| 90 # TBF |
| 149 pseudo_kw_test: fail | 91 pseudo_kw_test: fail |
| 92 |
| 93 # TBF: hiding at start of the block and declared after declaration statement |
| 150 scope_negative_test: fail | 94 scope_negative_test: fail |
| 151 static_call_wrong_argument_count_negative_test: fail | 95 |
| 96 # TBF: 'instance.staticMethod()' is static warning |
| 152 static_field_test/01: fail | 97 static_field_test/01: fail |
| 153 static_field_test/02: fail | 98 static_field_test/02: fail |
| 154 static_field_test/03: fail | 99 static_field_test/03: fail |
| 100 |
| 101 # TBF: A constant variable is always implicitly nal. |
| 155 static_final_field2_negative_test: fail | 102 static_final_field2_negative_test: fail |
| 156 static_final_field_negative_test: fail | 103 |
| 157 syntax_test/28: fail | 104 library_ambiguous_test/04: Fail # TBF: Issue 12106 |
| 158 syntax_test/29: fail | 105 |
| 159 syntax_test/30: fail | 106 |
| 160 syntax_test/31: fail | 107 |
| 161 syntax_test/32: fail | |
| 162 syntax_test/33: fail | |
| 163 throw7_negative_test: fail | |
| 164 type_error_test: fail | |
| 165 type_parameter_test/none: fail | |
| 166 type_variable_bounds2_test/00: fail | |
| 167 type_variable_bounds2_test/01: fail | |
| 168 type_variable_bounds2_test/02: fail | |
| 169 type_variable_bounds2_test/03: fail | |
| 170 type_variable_bounds2_test/04: fail | |
| 171 type_variable_bounds2_test/06: fail | |
| 172 type_variable_static_context_negative_test: fail | |
| 173 unresolved_in_factory_negative_test: fail | |
| 174 unresolved_top_level_method_negative_test: fail | |
| 175 unresolved_top_level_var_negative_test: fail | |
| 176 | 108 |
| 177 # test issue 10683, It is a compile-time error if e refers to the name v or the
name v=. | 109 # test issue 10683, It is a compile-time error if e refers to the name v or the
name v=. |
| 178 block_scope_test: fail | 110 block_scope_test: fail |
| 179 lazy_static3_test: fail | 111 lazy_static3_test: fail |
| 180 | 112 |
| 181 # test issue 10889, "throw" requires expression, "rethrow" should be used instea
d | 113 # test issue 10889, "throw" requires expression, "rethrow" should be used instea
d |
| 182 execute_finally10_test: fail | 114 execute_finally10_test: fail |
| 183 execute_finally11_test: fail | 115 execute_finally11_test: fail |
| 184 final_used_in_try_test: fail | 116 final_used_in_try_test: fail |
| 185 full_stacktrace2_test: fail | 117 full_stacktrace2_test: fail |
| 186 stack_trace_test: fail | 118 stack_trace_test: fail |
| 187 throw3_test: fail | 119 throw3_test: fail |
| 188 try_catch3_test: fail | 120 try_catch3_test: fail |
| 121 type_error_test: fail |
| 189 | 122 |
| 190 # test issue 10890; on-catch UnknownType is a static warning, not error | 123 # test issue 10890; on-catch UnknownType is a static warning, not error |
| 191 try_catch_on_syntax_test/01: fail | 124 try_catch_on_syntax_test/01: fail |
| 192 | 125 |
| 193 # test issue 10899; it is static warning, not error, to call methods of class li
teral | 126 # test issue 10899; it is static warning, not error, to call methods of class li
teral |
| 194 class_literal_test/02: fail | 127 class_literal_test/02: fail |
| 195 class_literal_test/05: fail | 128 class_literal_test/05: fail |
| 196 class_literal_test/07: fail | 129 class_literal_test/07: fail |
| 197 class_literal_test/10: fail | 130 class_literal_test/10: fail |
| 198 class_literal_test/11: fail | 131 class_literal_test/11: fail |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 # test issue 11578, redirecting factory with not subtype | 197 # test issue 11578, redirecting factory with not subtype |
| 265 factory5_test/none: fail | 198 factory5_test/none: fail |
| 266 factory_redirection_test/none: fail | 199 factory_redirection_test/none: fail |
| 267 type_variable_bounds_test/none: fail | 200 type_variable_bounds_test/none: fail |
| 268 type_variable_scope_test/none: fail | 201 type_variable_scope_test/none: fail |
| 269 factory_implementation_test/none: fail | 202 factory_implementation_test/none: fail |
| 270 | 203 |
| 271 # test issue 11579, assignment, no setter | 204 # test issue 11579, assignment, no setter |
| 272 getter_no_setter_test/none: fail | 205 getter_no_setter_test/none: fail |
| 273 | 206 |
| 207 # test issue 11580, Function is not a malformed type |
| 208 black_listed_test/11: fail |
| 209 |
| 210 # test issue 11581, it is not warning to call dynamic |
| 211 call_through_getter_test: fail |
| 212 |
| 213 # test issue 11582, non-final field with 'const' constructor |
| 214 compile_time_constant10_test/none: fail |
| 215 |
| 216 # test issue 11583, int is valid key for constant map literal |
| 217 compile_time_constant_c_test/01: fail |
| 218 |
| 219 # test issue 11584, positional arguments cannot be used for named parameters |
| 220 compile_time_constant_e_test: fail |
| 221 |
| 222 # test issue 11585, static warning, not negative test |
| 223 constructor3_negative_test: fail # issue 11585 |
| 224 constructor_call_wrong_argument_count_negative_test: fail |
| 225 instance_call_wrong_argument_count_negative_test: fail |
| 226 |
| 227 # test issue 11586, Class(args) is compile-time warning, not error |
| 228 constructor_negative_test: fail |
| 229 |
| 230 # test issue 11589, export D from 2 export directives |
| 231 export_cyclic_test: fail |
| 232 |
| 233 # test issue 11590, runtime only negative test |
| 234 field_method4_negative_test: fail |
| 235 |
| 236 # test issue 11591, assigning to the final variable is warning, not error |
| 237 final_for_in_variable_test/01: fail |
| 238 final_param_negative_test: fail |
| 239 final_var_negative_test: fail |
| 240 final_variable_assignment_test/01: fail |
| 241 final_variable_assignment_test/02: fail |
| 242 final_variable_assignment_test/03: fail |
| 243 final_variable_assignment_test/04: fail |
| 244 getter_no_setter_test/01: fail |
| 245 |
| 246 # test issue 11592, Function type alias (typedef) is not a constant |
| 247 first_class_types_constants_test: fail |
| 248 |
| 249 # test issue 11594, Reference to a not resolve identifier is static warning |
| 250 import_combinators_negative_test: fail |
| 251 interface_static_non_final_fields_negative_test: fail |
| 252 |
| 253 # test issue 11595, It is static warning to create instance (new) of the malform
ed type |
| 254 instantiate_type_variable_negative_test: fail |
| 255 |
| 256 # test issue 11596. e is Unknown is not a compile time error |
| 257 is_not_class2_negative_test: fail |
| 258 |
| 259 # test issue 11597, It is a compile-time error if part has no "part of" directiv
e |
| 260 library_juxtaposition_test: fail |
| 261 |
| 262 # test issue 11598, Any use of a malbounded type gives rise to a static warning |
| 263 mixin_type_parameters_errors_test/01: fail |
| 264 mixin_type_parameters_errors_test/02: fail |
| 265 mixin_type_parameters_errors_test/05: fail |
| 266 |
| 274 # test issue 11918: mixin and const constructor | 267 # test issue 11918: mixin and const constructor |
| 275 const_constructor_mixin_test/01: fail | 268 const_constructor_mixin_test/01: fail |
| 276 const_constructor_mixin3_test/01: fail | 269 const_constructor_mixin3_test/01: fail |
| 277 | 270 |
| 278 library_ambiguous_test/04: Fail # Issue 12106 | 271 # test issue 11958, fails only at runtime |
| 272 no_such_method_negative_test: fail |
| 273 |
| 274 # test issue 11962, it is warning, not error to reference undeclared identifier |
| 275 prefix1_negative_test: fail |
| 276 prefix2_negative_test: fail |
| 277 prefix4_negative_test: fail |
| 278 prefix5_negative_test: fail |
| 279 prefix12_negative_test: fail |
| 280 |
| 281 # test issue 11963, it is fine to access any property of the dynamic variable |
| 282 prefix6_negative_test: fail |
| 283 |
| 284 # test issue 11964, Any use of a malformed type gives rise to a static warning. |
| 285 prefix8_negative_test: fail |
| 286 prefix9_negative_test: fail |
| 287 prefix11_negative_test: fail |
| 288 |
| 289 # test issue 11965, 'source' is not built-in identifier anymore |
| 290 pseudo_kw_illegal_test/14: fail |
| 291 |
| 292 # test issue 12156, fails only at runtime |
| 293 static_call_wrong_argument_count_negative_test: fail |
| 294 |
| 295 # test issue 12157, uninitializer instance variable is warning, so not negative
test |
| 296 static_final_field_negative_test: fail |
| 297 |
| 298 # test issue 12158, 'native' is not in spec, so analyzer does not generate compi
le-time error |
| 299 syntax_test/28: fail |
| 300 syntax_test/29: fail |
| 301 syntax_test/30: fail |
| 302 syntax_test/31: fail |
| 303 syntax_test/32: fail |
| 304 syntax_test/33: fail |
| 305 |
| 306 # test issue 12159, print(exception.message_); causes static warning, not an err
or |
| 307 throw7_negative_test: fail |
| 308 |
| 309 # test issue 12160, not annotated warnings for type variables from static member |
| 310 type_parameter_test/none: fail |
| 311 # test issue 12161, type variable in static, malformed type, static warning |
| 312 type_variable_static_context_negative_test: fail |
| 313 |
| 314 # test issue 12162, 'a' has dynamic type, so it statically it is assignable to a
nything |
| 315 type_variable_bounds2_test/00: fail |
| 316 type_variable_bounds2_test/01: fail |
| 317 type_variable_bounds2_test/02: fail |
| 318 type_variable_bounds2_test/03: fail |
| 319 type_variable_bounds2_test/04: fail |
| 320 type_variable_bounds2_test/06: fail |
| 321 |
| 322 # test issue 12163, unresolved identifier is static warning in static context |
| 323 unresolved_in_factory_negative_test: fail |
| 324 unresolved_top_level_method_negative_test: fail |
| 325 unresolved_top_level_var_negative_test: fail |
| 279 | 326 |
| 280 [ $compiler == dartanalyzer && $checked ] | 327 [ $compiler == dartanalyzer && $checked ] |
| 281 factory1_test/00: fail | 328 factory1_test/00: fail |
| 282 factory1_test/01: fail | 329 factory1_test/01: fail |
| 283 field_type_check2_test/01: fail | 330 field_type_check2_test/01: fail |
| 284 factory_implementation_test/00: fail | 331 factory_implementation_test/00: fail |
| 285 factory_redirection_test/08: fail | 332 factory_redirection_test/08: fail |
| 286 factory_redirection_test/09: fail | 333 factory_redirection_test/09: fail |
| 287 factory_redirection_test/10: fail | 334 factory_redirection_test/10: fail |
| 288 factory_redirection_test/11: fail | 335 factory_redirection_test/11: fail |
| 289 factory_redirection_test/12: fail | 336 factory_redirection_test/12: fail |
| 290 factory_redirection_test/13: fail | 337 factory_redirection_test/13: fail |
| 291 factory_redirection_test/14: fail | 338 factory_redirection_test/14: fail |
| 292 getters_setters2_test/03: fail | 339 getters_setters2_test/03: fail |
| 293 type_variable_bounds3_test/00: fail | 340 type_variable_bounds3_test/00: fail |
| 294 type_variable_bounds2_test/05: fail | 341 type_variable_bounds2_test/05: fail |
| 295 | 342 |
| OLD | NEW |