| 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 == dart2analyzer ] | 5 [ $compiler == dart2analyzer ] |
| 6 switch_bad_case_test/02: Fail # missing error in double in switch case expr | |
| 7 | |
| 8 # Runtime negative test. No static errors or warnings. | 6 # Runtime negative test. No static errors or warnings. |
| 9 closure_call_wrong_argument_count_negative_test: skip | 7 closure_call_wrong_argument_count_negative_test: skip |
| 10 | 8 |
| 11 # TBD: using built-in identifers | 9 # TBD: using built-in identifers |
| 12 built_in_identifier_prefix_test: fail # Issue 12694 | 10 built_in_identifier_prefix_test: fail # Issue 12694 |
| 13 | 11 |
| 14 # TBD: these look like bad tests, no issue number | 12 # TBD: these look like bad tests, no issue number |
| 15 class_literal_test: fail | 13 class_literal_test: fail |
| 16 constructor_call_as_function_test/01: fail | 14 constructor_call_as_function_test/01: fail |
| 17 | 15 |
| 18 # TBF: It is a static type warning if a type parameter is a supertype of its upp
er bound. | |
| 19 cyclic_type_variable_test/01: fail | |
| 20 cyclic_type_variable_test/02: fail | |
| 21 cyclic_type_variable_test/03: fail | |
| 22 cyclic_type_variable_test/04: fail | |
| 23 | |
| 24 # 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. | |
| 25 default_factory2_test/01: fail # Issue 12701 | |
| 26 | |
| 27 # TBF: It is a static warning if the function type of k' is not a subtype of the
type of k. | 16 # TBF: It is a static warning if the function type of k' is not a subtype of the
type of k. |
| 28 default_implementation2_test: fail | 17 default_implementation2_test: fail |
| 29 | 18 |
| 30 # TBD: F-bounded quantification | |
| 31 f_bounded_quantification_test/01: fail # Issue 12704 | |
| 32 f_bounded_quantification_test/02: fail # Issue 12704 | |
| 33 | |
| 34 function_type_alias9_test/00: crash # Issue 11987 | 19 function_type_alias9_test/00: crash # Issue 11987 |
| 35 | 20 |
| 36 list_literal_syntax_test/01: fail # Issue 12103 | |
| 37 list_literal_syntax_test/02: fail # Issue 12103 | |
| 38 list_literal_syntax_test/03: fail # Issue 12103 | |
| 39 malformed_test/none: fail # Issue 12696 | |
| 40 | |
| 41 # TBF: we should check conflicts not only for methods, but for accessors too | 21 # TBF: we should check conflicts not only for methods, but for accessors too |
| 42 override_field_test/02: fail | 22 override_field_test/02: fail |
| 43 override_field_test/03: fail | 23 override_field_test/03: fail |
| 44 method_override7_test/03: Fail # Issue 11496 | 24 method_override7_test/03: Fail # Issue 11496 |
| 45 method_override8_test/03: Fail # Issue 11496 | 25 method_override8_test/03: Fail # Issue 11496 |
| 46 | 26 |
| 47 # TBF: prefix T hidden by type variable T in 'new T.Class()' | 27 # TBF: prefix T hidden by type variable T in 'new T.Class()' |
| 48 prefix10_negative_test: fail | 28 prefix10_negative_test: fail |
| 49 | 29 |
| 50 # TBF: no error if A in our library, B extends A in other library, reference B._
private from Test extends B in our library. | 30 built_in_identifier_test/none: Fail # Issue 13023 |
| 51 private_member1_negative_test: fail | |
| 52 private_member2_negative_test: fail | |
| 53 private_member3_negative_test: fail | |
| 54 | 31 |
| 55 built_in_identifier_test/none: Fail # Issue 13023 | 32 # test issue 13807, missing support for type promotion |
| 33 type_promotion_closure_test/none: Fail # Issue 13807 |
| 34 type_promotion_functions_test/none: Fail # Issue 13807 |
| 35 type_promotion_local_test/none: Fail # Issue 13807 |
| 36 type_promotion_logical_and_test/none: Fail # Issue 13807 |
| 37 type_promotion_multiple_test/none: Fail # Issue 13807 |
| 38 type_promotion_parameter_test/none: Fail # Issue 13807 |
| 39 |
| 40 # Missing checks for cyclic typedefs (through bounds) |
| 41 cyclic_typedef_test/10: Fail # Issue 13906 |
| 42 cyclic_typedef_test/11: Fail # Issue 13906 |
| 43 |
| 44 |
| 45 # Please add new failing tests before this line. |
| 46 # Section below is for invalid tests. |
| 47 # |
| 48 # |
| 49 |
| 50 |
| 51 |
| 56 | 52 |
| 57 # test issue 10683, It is a compile-time error if e refers to the name v or the
name v=. | 53 # test issue 10683, It is a compile-time error if e refers to the name v or the
name v=. |
| 58 block_scope_test: fail | 54 block_scope_test: fail |
| 59 lazy_static3_test: fail | 55 lazy_static3_test: fail |
| 60 | 56 |
| 57 # test issue 11124, It is warning, not error to don't initialize final field |
| 61 field3a_negative_test: Fail # Issue 11124 | 58 field3a_negative_test: Fail # Issue 11124 |
| 62 final_syntax_test/01: Fail # Issue 11124 | 59 final_syntax_test/01: Fail # Issue 11124 |
| 63 final_syntax_test/04: Fail # Issue 11124 | 60 final_syntax_test/04: Fail # Issue 11124 |
| 64 final_syntax_test/02: Fail # Issue 11124 | 61 final_syntax_test/02: Fail # Issue 11124 |
| 65 final_syntax_test/03: Fail # Issue 11124 | 62 final_syntax_test/03: Fail # Issue 11124 |
| 66 | 63 |
| 67 # Test issue 11545, using not existing constructor name in annotation | 64 # Test issue 11545, using not existing constructor name in annotation |
| 68 metadata_test: fail | 65 metadata_test: fail |
| 69 | 66 |
| 70 # test issue 11575, classes with abstrac members are not marked as abstract | 67 # test issue 11575, classes with abstrac members are not marked as abstract |
| 71 abstract_factory_constructor_test/none: fail # Issue 11575 | 68 abstract_factory_constructor_test/none: fail # Issue 11575 |
| 72 get_set_syntax_test/none: fail # Issue 11575 | 69 get_set_syntax_test/none: fail # Issue 11575 |
| 73 implicit_this_test/none: fail # Issue 11575 | 70 implicit_this_test/none: fail # Issue 11575 |
| 74 interface_test/none: fail # Issue 11575 | 71 interface_test/none: fail # Issue 11575 |
| 75 syntax_test/none: fail # Issue 11575 | 72 syntax_test/none: fail # Issue 11575 |
| 76 | 73 |
| 77 # test issue 11576 | 74 # test issue 11576 |
| 78 bad_constructor_test/none: fail # Issue 11576 | 75 bad_constructor_test/none: fail # Issue 11576 |
| 79 | 76 |
| 80 # test issue 11577, has return type for []= | 77 # test issue 11577, has return type for []= |
| 81 cascade_test/none: fail # Issue 11577 | 78 cascade_test/none: fail # Issue 11577 |
| 82 | 79 |
| 83 # test issue 11578, redirecting factory with not subtype | 80 # test issue 11578, redirecting factory with not subtype |
| 84 factory5_test/none: fail # Issue 11578 | 81 factory5_test/none: fail # Issue 11578 |
| 85 factory_redirection_test/none: fail # Issue 11578 | |
| 86 type_variable_bounds_test/none: fail # Issue 11578 | 82 type_variable_bounds_test/none: fail # Issue 11578 |
| 87 type_variable_scope_test/none: fail # Issue 11578 | 83 type_variable_scope_test/none: fail # Issue 11578 |
| 88 factory_implementation_test/none: fail # Issue 11578 | 84 factory_implementation_test/none: fail # Issue 11578 |
| 89 | 85 |
| 90 redirecting_factory_malbounded_test/none: Fail # Issue 12827 | |
| 91 | |
| 92 # test issue 11579, assignment, no setter | 86 # test issue 11579, assignment, no setter |
| 93 getter_no_setter_test/none: fail | 87 getter_no_setter_test/none: fail |
| 94 | 88 |
| 95 # test issue 11581, it is not warning to call dynamic | 89 # test issue 11581, it is not warning to call dynamic |
| 96 call_through_getter_test: fail | 90 call_through_getter_test: fail |
| 97 | 91 |
| 98 # test issue 11584, positional arguments cannot be used for named parameters | 92 # test issue 11584, positional arguments cannot be used for named parameters |
| 99 compile_time_constant_e_test: fail | 93 compile_time_constant_e_test: fail |
| 100 | 94 |
| 101 # test issue 11585, static warning, not negative test | 95 # test issue 11585, static warning, not negative test |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 # test issue 12156, fails only at runtime | 137 # test issue 12156, fails only at runtime |
| 144 static_call_wrong_argument_count_negative_test: fail | 138 static_call_wrong_argument_count_negative_test: fail |
| 145 | 139 |
| 146 throw7_test/01: Fail # Issue 12159 | 140 throw7_test/01: Fail # Issue 12159 |
| 147 | 141 |
| 148 # test issue 12160, not annotated warnings for type variables from static member | 142 # test issue 12160, not annotated warnings for type variables from static member |
| 149 type_parameter_test/none: fail | 143 type_parameter_test/none: fail |
| 150 # test issue 12161, type variable in static, malformed type, static warning | 144 # test issue 12161, type variable in static, malformed type, static warning |
| 151 type_variable_static_context_negative_test: fail | 145 type_variable_static_context_negative_test: fail |
| 152 | 146 |
| 153 # test issue 12162, 'a' has dynamic type, so it statically it is assignable to a
nything | |
| 154 type_variable_bounds2_test/00: fail # Issue 12162 | |
| 155 type_variable_bounds2_test/01: fail # Issue 12162 | |
| 156 type_variable_bounds2_test/02: fail # Issue 12162 | |
| 157 type_variable_bounds2_test/03: fail # Issue 12162 | |
| 158 type_variable_bounds2_test/04: fail # Issue 12162 | |
| 159 type_variable_bounds2_test/06: fail # Issue 12162 | |
| 160 | |
| 161 # test issue 12163, unresolved identifier is static warning in static context | 147 # test issue 12163, unresolved identifier is static warning in static context |
| 162 unresolved_in_factory_negative_test: fail # Issue 12163 | 148 unresolved_in_factory_negative_test: fail # Issue 12163 |
| 163 unresolved_top_level_var_negative_test: fail # Issue 12163 | 149 unresolved_top_level_var_negative_test: fail # Issue 12163 |
| 164 | 150 |
| 165 # test issue 12191, ambiguous import is always warning now | 151 # test issue 12191, ambiguous import is always warning now |
| 166 prefix3_negative_test: fail # Issue 12191 | 152 prefix3_negative_test: fail # Issue 12191 |
| 167 | 153 |
| 168 # test issue 12289, assignment in assert statement | 154 # test issue 12289, assignment in assert statement |
| 169 type_error_test: fail # Issue 12289 | 155 type_error_test: fail # Issue 12289 |
| 170 | 156 |
| 171 # test issue 12381, It is compile-time error to invoke not existing function | 157 # test issue 12381, It is compile-time error to invoke not existing function |
| 172 issue11724_test: fail # Issue 12381 | 158 issue11724_test: fail # Issue 12381 |
| 173 call_nonexistent_static_test/08: fail # Issue 12381 | 159 call_nonexistent_static_test/08: fail # Issue 12381 |
| 174 | 160 |
| 175 scope_variable_test/01: fail # Issue 12397 | 161 scope_variable_test/01: fail # Issue 12397 |
| 176 | 162 |
| 177 # test issue 12539, rules for finals were loosened, contradiction in spec was fi
xed | 163 # test issue 12539, rules for finals were loosened, contradiction in spec was fi
xed |
| 178 const_syntax_test/09: fail # Issue 12539 | 164 const_syntax_test/09: fail # Issue 12539 |
| 179 | 165 |
| 180 # test issue 12541; there shouldn't be a static warning | 166 # test issue 12541; there shouldn't be a static warning |
| 181 static_field_test/01: fail # Issue 12541 | 167 static_field_test/01: fail # Issue 12541 |
| 182 static_field_test/02: fail # Issue 12541 | 168 static_field_test/02: fail # Issue 12541 |
| 183 static_field_test/03: fail # Issue 12541 | 169 static_field_test/03: fail # Issue 12541 |
| 184 static_field_test/04: fail # Issue 12541 | 170 static_field_test/04: fail # Issue 12541 |
| 185 | 171 |
| 186 # test issue 13787; duplicate exports of the same declaration is not handled | 172 # test issue 13787; duplicate exports of the same declaration is not handled |
| 187 duplicate_export_test: fail # Issue 13787 | 173 duplicate_export_test: fail # Issue 13787 |
| 188 | 174 |
| 189 type_variable_conflict_test/01: Fail # Issue 13703 | 175 # test issue 13916, Looks as no warning should be in this redirecting factory |
| 190 type_variable_conflict_test/02: Fail # Issue 13703 | 176 redirecting_factory_infinite_steps_test/01: fail |
| 191 type_variable_conflict_test/03: Fail # Issue 13703 | 177 |
| 192 type_variable_conflict_test/04: Fail # Issue 13703 | 178 # test issue 13956, It is a static type warning if any of the type arguments to
k' are not subtypes of the bounds of the corresponding formal type parameters of
type. |
| 193 type_variable_conflict_test/05: Fail # Issue 13703 | 179 default_factory2_test/none: fail |
| 194 type_variable_conflict_test/06: Fail # Issue 13703 | 180 |
| 181 # test issue 14021, it is warning, not an error to reference private (undefined)
identifier |
| 182 private_member1_negative_test: fail |
| 183 private_member2_negative_test: fail |
| 184 private_member3_negative_test: fail |
| 185 |
| 186 # test issue 14079 |
| 187 malformed_test/none: fail # test issue 14079, legit warnings for malformed type |
| 188 malformed_test/05: fail # test issue 14079, it is not error, but warning to inst
antiate malformed type |
| 189 malformed_test/06: fail # test issue 14079, it is not error, but warning to use
malformed type in "try-on" clause |
| 190 |
| 191 # |
| 192 # Please don't add new items here. |
| 193 # This is section for invalid tests. |
| 194 # |
| 195 | 195 |
| 196 [ $compiler == dart2analyzer && $checked ] | 196 [ $compiler == dart2analyzer && $checked ] |
| 197 factory1_test/00: fail | 197 factory1_test/00: fail |
| 198 factory1_test/01: fail | 198 factory1_test/01: fail |
| 199 field_type_check2_test/01: fail | 199 field_type_check2_test/01: fail |
| 200 factory_implementation_test/00: fail | 200 factory_implementation_test/00: fail |
| 201 factory_redirection_test/08: fail | 201 factory_redirection_test/08: fail |
| 202 factory_redirection_test/09: fail | 202 factory_redirection_test/09: fail |
| 203 factory_redirection_test/10: fail | 203 factory_redirection_test/10: fail |
| 204 factory_redirection_test/11: fail | 204 factory_redirection_test/11: fail |
| 205 factory_redirection_test/12: fail | 205 factory_redirection_test/12: fail |
| 206 factory_redirection_test/13: fail | 206 factory_redirection_test/13: fail |
| 207 factory_redirection_test/14: fail | 207 factory_redirection_test/14: fail |
| 208 getters_setters2_test/03: fail | 208 getters_setters2_test/03: fail |
| 209 type_variable_bounds3_test/00: fail | 209 type_variable_bounds3_test/00: fail |
| 210 type_variable_bounds2_test/05: fail | 210 type_variable_bounds2_test/05: fail |
| 211 | 211 |
| OLD | NEW |