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

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

Issue 10920089: Generate a warning and a runtime error for calls to nonexistent static calls, getters and setters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 == dart2js || $compiler == dart2dart ] 5 [ $compiler == dart2js || $compiler == dart2dart ]
6 # VM specific tests that should not be run by dart2js. 6 # VM specific tests that should not be run by dart2js.
7 *vm_test: Skip 7 *vm_test: Skip
8 *vm_negative_test: Skip 8 *vm_negative_test: Skip
9 9
10 [ $compiler == dart2js && $checked ] 10 [ $compiler == dart2js && $checked ]
(...skipping 26 matching lines...) Expand all
37 function_type_test: Fail # does not detect type error in checked mode. 37 function_type_test: Fail # does not detect type error in checked mode.
38 function_malformed_result_type_test: Fail # does not detect type error in checke d mode. 38 function_malformed_result_type_test: Fail # does not detect type error in checke d mode.
39 void_type_test: Fail # does not detect type error in checked mode. 39 void_type_test: Fail # does not detect type error in checked mode.
40 40
41 arithmetic_test: Fail 41 arithmetic_test: Fail
42 42
43 [ $compiler == dart2js && $unchecked ] 43 [ $compiler == dart2js && $unchecked ]
44 assertion_test: Fail 44 assertion_test: Fail
45 45
46 [ $compiler == dart2js ] 46 [ $compiler == dart2js ]
47 class_literal_test/03: Fail # Calling a nonexistent static is not a compile time error anymore.
ahe 2012/09/07 12:18:53 Fail, OK
48 class_literal_test/04: Fail # Calling a nonexistent static is not a compile time error anymore.
49 class_literal_test/08: Fail # Calling a nonexistent static is not a compile time error anymore.
50 class_literal_test/09: Fail # Calling a nonexistent static is not a compile time error anymore.
51 class_literal_test/15: Fail # Calling a nonexistent static is not a compile time error anymore.
52 class_literal_test/16: Fail # Calling a nonexistent static is not a compile time error anymore.
53
47 getter_declaration_negative_test: Fail # This will be fixed when dart2js reject old getter syntax. 54 getter_declaration_negative_test: Fail # This will be fixed when dart2js reject old getter syntax.
48 55
49 function_type_this_parameter_test: Crash # Issue 4417. 56 function_type_this_parameter_test: Crash # Issue 4417.
50 compile_time_constant8_test: Fail # We don't take the generic type into account yet. 57 compile_time_constant8_test: Fail # We don't take the generic type into account yet.
51 58
52 # Fail "const EmptyLink<Element>" must be a compile-time constant if unchecked o n linux. 59 # Fail "const EmptyLink<Element>" must be a compile-time constant if unchecked o n linux.
53 # Crash infinite loop on Mac and dart2js checked mode on linux. 60 # Crash infinite loop on Mac and dart2js checked mode on linux.
54 function_type_alias6_test: Crash, Fail 61 function_type_alias6_test: Crash, Fail
55 62
56 static_initializer_type_error_test: Fail # Checked mode not supported. 63 static_initializer_type_error_test: Fail # Checked mode not supported.
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 296
290 [ $compiler == dart2js && $runtime == safari ] 297 [ $compiler == dart2js && $runtime == safari ]
291 arithmetic_test: Skip # BUG(3492): Times out. 298 arithmetic_test: Skip # BUG(3492): Times out.
292 call_through_getter_test: Fail # Expected: ObjectNotClosureException got: Instan ce of 'TypeError' 299 call_through_getter_test: Fail # Expected: ObjectNotClosureException got: Instan ce of 'TypeError'
293 call_through_null_getter_test: Fail # Expected: ObjectNotClosureException got: I nstance of 'TypeError' 300 call_through_null_getter_test: Fail # Expected: ObjectNotClosureException got: I nstance of 'TypeError'
294 closure3_test: Fail # Uncaught error: Instance of 'TypeError' 301 closure3_test: Fail # Uncaught error: Instance of 'TypeError'
295 method_invocation_test: Fail # Uncaught error: Instance of 'TypeError' 302 method_invocation_test: Fail # Uncaught error: Instance of 'TypeError'
296 null_pointer_exception_test: Fail # Uncaught error: Instance of 'TypeError' 303 null_pointer_exception_test: Fail # Uncaught error: Instance of 'TypeError'
297 string_interpolate_npe_test: Fail # Uncaught error: Instance of 'TypeError' 304 string_interpolate_npe_test: Fail # Uncaught error: Instance of 'TypeError'
298 305
OLDNEW
« lib/compiler/implementation/ssa/builder.dart ('K') | « tests/language/language.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698