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

Unified Diff: pkg/compiler/lib/src/parser/parser.dart

Issue 2623283003: Fix missing parenthesis. (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/parser/parser.dart
diff --git a/pkg/compiler/lib/src/parser/parser.dart b/pkg/compiler/lib/src/parser/parser.dart
index 40389c560798a4345ce916dfb256c462b6abce4e..0ef9cb8373d292e82d3f55ef70d7bd8d86addb3b 100644
--- a/pkg/compiler/lib/src/parser/parser.dart
+++ b/pkg/compiler/lib/src/parser/parser.dart
@@ -432,7 +432,7 @@ class Parser {
// This enables the case where `covariant` is the name of the parameter:
// void foo(covariant);
if (identical(token.stringValue, 'covariant') &&
- token.next.isIdentifier() || isModifier(token.next)) {
+ (token.next.isIdentifier() || isModifier(token.next))) {
token = token.next;
}
token = parseModifiers(token);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698