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

Unified Diff: tests/language/list_literal_syntax_test.dart

Issue 19097003: Support new malformed types semantics. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
Index: tests/language/list_literal_syntax_test.dart
diff --git a/tests/language/list_literal_syntax_test.dart b/tests/language/list_literal_syntax_test.dart
index 83f23a97434d1f70ca1ca0481bed07119c422201..c9c332041899edbdb76cd3cfb636cb92838d068d 100644
--- a/tests/language/list_literal_syntax_test.dart
+++ b/tests/language/list_literal_syntax_test.dart
@@ -10,18 +10,18 @@ void main() {
var list;
list = <int
I /// 00: compile-time error
- , int /// 01: compile-time error
+ , int /// 01: static type warning
>[0];
Expect.equals(1, list.length);
list = <int
- , int /// 02: compile-time error
+ , int /// 02: static type warning
, int /// 02: continued
>[0];
Expect.equals(1, list.length);
list = <int
- , int /// 03: compile-time error
+ , int /// 03: static type warning
, int /// 03: continued
, int /// 03: continued
>[0];

Powered by Google App Engine
This is Rietveld 408576698