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

Unified Diff: tests/language/mixin_illegal_syntax_test.dart

Issue 26651006: Switch dart2js 'typedef name = mixinApplication' to 'class name = mixinApplication'. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Support modifiers. Created 7 years, 2 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/mixin_illegal_syntax_test.dart
diff --git a/tests/language/mixin_illegal_syntax_test.dart b/tests/language/mixin_illegal_syntax_test.dart
index 34bf3361d34706978a56ded28a0f6a65f3a3b443..6d0177d5fce02def9c1682722c8371b522580fb7 100644
--- a/tests/language/mixin_illegal_syntax_test.dart
+++ b/tests/language/mixin_illegal_syntax_test.dart
@@ -7,6 +7,7 @@ class G<T> { }
class M { }
typedef T0 = abstract S with M;
+abstract class T0A = S with M;
typedef T1 = final S with M; /// 01: compile-time error
typedef T2 = var S with M; /// 02: compile-time error
typedef T3 = const S with M; /// 03: compile-time error
@@ -32,6 +33,7 @@ class D1 extends T0 { }
main() {
new T0(); /// 13: static type warning, runtime error
+ new T0A(); /// 13: static type warning, runtime error
new T1(); /// 01: continued
new T2(); /// 02: continued
new T3(); /// 03: continued

Powered by Google App Engine
This is Rietveld 408576698