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

Unified Diff: pkg/analyzer/test/generated/parser_test.dart

Issue 785573002: Fix for issue 4482 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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 | « pkg/analyzer/lib/src/generated/parser.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/parser_test.dart
diff --git a/pkg/analyzer/test/generated/parser_test.dart b/pkg/analyzer/test/generated/parser_test.dart
index 566126ce58fe07dd3cb4893fa95cb08ad5aefca5..913baf60ac7c7079c22db8e603b92f49e4f58279 100644
--- a/pkg/analyzer/test/generated/parser_test.dart
+++ b/pkg/analyzer/test/generated/parser_test.dart
@@ -2354,6 +2354,12 @@ class ErrorParserTest extends ParserTestCase {
[ParserErrorCode.UNEXPECTED_TERMINATOR_FOR_PARAMETER_GROUP]);
}
+ void test_unexpectedToken_endOfFieldDeclarationStatement() {
+ ParserTestCase.parseStatement(
+ "String s = (null));",
+ [ParserErrorCode.UNEXPECTED_TOKEN]);
+ }
+
void test_unexpectedToken_semicolonBetweenClassMembers() {
ParserTestCase.parse3(
"parseClassDeclaration",
« no previous file with comments | « pkg/analyzer/lib/src/generated/parser.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698