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

Unified Diff: tests/language/malformed_inheritance_test.dart

Issue 26888005: Disallow extending a malformed type (issue 13940). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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
« runtime/vm/parser.cc ('K') | « tests/language/language_dart2js.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/malformed_inheritance_test.dart
===================================================================
--- tests/language/malformed_inheritance_test.dart (revision 28477)
+++ tests/language/malformed_inheritance_test.dart (working copy)
@@ -16,6 +16,12 @@
extends Object with A<Unresolved> /// 04: static type warning
implements Unresolved /// 05: compile-time error
implements A<Unresolved> /// 06: static type warning
+ <A> extends A<int> /// 07: compile-time error
+ <A> extends A<Unresolved> /// 08: compile-time error
+ <A> extends Object with A<int> /// 09: compile-time error
+ <A> extends Object with A<Unresolved> /// 10: compile-time error
+ <A> implements A<int> /// 11: compile-time error
+ <A> implements A<Unresolved> /// 12: compile-time error
{
}
« runtime/vm/parser.cc ('K') | « tests/language/language_dart2js.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698