Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: tests/language/language_analyzer.status

Issue 22846005: Report StaticWarningCode.UNDEFINED_IDENTIFIER when name is hidden, but not defined yet in block. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 # TBD: using built-in identifers 10 # TBD: using built-in identifers
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 prefix10_negative_test: fail 57 prefix10_negative_test: fail
58 58
59 # TBF: no error if A in our library, B extends A in other library, reference B._ private from Test extends B in our library. 59 # TBF: no error if A in our library, B extends A in other library, reference B._ private from Test extends B in our library.
60 private_member1_negative_test: fail 60 private_member1_negative_test: fail
61 private_member2_negative_test: fail 61 private_member2_negative_test: fail
62 private_member3_negative_test: fail 62 private_member3_negative_test: fail
63 63
64 # TBF 64 # TBF
65 pseudo_kw_test: fail 65 pseudo_kw_test: fail
66 66
67 # TBF: hiding at start of the block and declared after declaration statement 67
68 scope_negative_test: fail 68
69 69
70 # test issue 10683, It is a compile-time error if e refers to the name v or the name v=. 70 # test issue 10683, It is a compile-time error if e refers to the name v or the name v=.
71 block_scope_test: fail 71 block_scope_test: fail
72 lazy_static3_test: fail 72 lazy_static3_test: fail
73 73
74 # test issue 10890; on-catch UnknownType is a static warning, not error 74 # test issue 10890; on-catch UnknownType is a static warning, not error
75 try_catch_on_syntax_test/01: fail 75 try_catch_on_syntax_test/01: fail
76 76
77 # test issue 10899; it is static warning, not error, to call methods of class li teral 77 # test issue 10899; it is static warning, not error, to call methods of class li teral
78 class_literal_test/02: fail 78 class_literal_test/02: fail
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 library_ambiguous_test/02: fail 268 library_ambiguous_test/02: fail
269 library_ambiguous_test/03: fail 269 library_ambiguous_test/03: fail
270 270
271 # test issue 12289, assignment in assert statement 271 # test issue 12289, assignment in assert statement
272 type_error_test: fail 272 type_error_test: fail
273 273
274 # test issue 12381, It is compile-time error to invoke not existing function 274 # test issue 12381, It is compile-time error to invoke not existing function
275 issue11724_test: fail 275 issue11724_test: fail
276 call_nonexistent_static_test/08: fail 276 call_nonexistent_static_test/08: fail
277 277
278 # test issue 12397; it is statis warning, not error to use variable before decla ration (or hidden)
Brian Wilkerson 2013/08/12 22:18:20 nit: "statis" --> "static"
279 scope_negative_test: fail
280
278 [ $compiler == dartanalyzer && $checked ] 281 [ $compiler == dartanalyzer && $checked ]
279 factory1_test/00: fail 282 factory1_test/00: fail
280 factory1_test/01: fail 283 factory1_test/01: fail
281 field_type_check2_test/01: fail 284 field_type_check2_test/01: fail
282 factory_implementation_test/00: fail 285 factory_implementation_test/00: fail
283 factory_redirection_test/08: fail 286 factory_redirection_test/08: fail
284 factory_redirection_test/09: fail 287 factory_redirection_test/09: fail
285 factory_redirection_test/10: fail 288 factory_redirection_test/10: fail
286 factory_redirection_test/11: fail 289 factory_redirection_test/11: fail
287 factory_redirection_test/12: fail 290 factory_redirection_test/12: fail
288 factory_redirection_test/13: fail 291 factory_redirection_test/13: fail
289 factory_redirection_test/14: fail 292 factory_redirection_test/14: fail
290 getters_setters2_test/03: fail 293 getters_setters2_test/03: fail
291 type_variable_bounds3_test/00: fail 294 type_variable_bounds3_test/00: fail
292 type_variable_bounds2_test/05: fail 295 type_variable_bounds2_test/05: fail
293 296
OLDNEW
« no previous file with comments | « editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticWarningCodeTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698