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

Unified Diff: tests/language/malformed_test.dart

Issue 352523002: Fix parsing and resolving of prefixed names (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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/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_test.dart
===================================================================
--- tests/language/malformed_test.dart (revision 37611)
+++ tests/language/malformed_test.dart (working copy)
@@ -121,8 +121,8 @@
// The expression 'undeclared_prefix.Unresolved()' is parsed as the invocation
// of the named constructor 'Unresolved' on the type 'undeclared_prefix'.
Expect.throws(() => new undeclared_prefix.Unresolved(), (e) => true);
- // The expression 'undeclared_prefix.Unresolved<int>' cannot be parsed.
- Expect.throws(() => new undeclared_prefix.Unresolved<int>(), (e) => true); /// 05: compile-time error
+ // The expression 'undeclared_prefix.Unresolved<int>' is a malformed type.
+ Expect.throws(() => new undeclared_prefix.Unresolved<int>(), (e) => true);
try {
try {
@@ -163,7 +163,7 @@
try {
throw 'foo';
}
- on undeclared_prefix.Unresolved<int> /// 06: compile-time error
+ on undeclared_prefix.Unresolved<int> /// 06: runtime error
catch (e) {
}
}
« no previous file with comments | « tests/language/language_dart2js.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698