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

Unified Diff: tests/language/new_expression_type_args_test.dart

Issue 19097003: Support new malformed types semantics. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix unittests. Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/language/malformed_test.dart ('k') | tests/language/on_catch_malformed_type_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/new_expression_type_args_test.dart
diff --git a/tests/language/new_expression_type_args_test.dart b/tests/language/new_expression_type_args_test.dart
index c454c177abfe728f28d23330765387036aa29135..3f298f420ce07c89968bdc12704a1580d250fafc 100644
--- a/tests/language/new_expression_type_args_test.dart
+++ b/tests/language/new_expression_type_args_test.dart
@@ -10,7 +10,7 @@ class A<T> {
// OK when used within instance method, but not in static method.
m3() => new A<T>();
- static m4() => new A<T>(); /// 02: static type warning, dynamic type error
+ static m4() => new A<T>(); /// 02: static type warning
}
main() {
« no previous file with comments | « tests/language/malformed_test.dart ('k') | tests/language/on_catch_malformed_type_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698