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

Unified Diff: pkg/front_end/lib/src/fasta/parser/dart_vm_native.dart

Issue 2738903002: Change the calling conventions for handleUnrecoverableError. (Closed)
Patch Set: Fix a code path I missed in element_listener.dart Created 3 years, 9 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: pkg/front_end/lib/src/fasta/parser/dart_vm_native.dart
diff --git a/pkg/front_end/lib/src/fasta/parser/dart_vm_native.dart b/pkg/front_end/lib/src/fasta/parser/dart_vm_native.dart
index bb805c9828991969006103fa254e8b32ed2ca31d..4c38a81775ac31ecdf99905f7168da769b5d6ffd 100644
--- a/pkg/front_end/lib/src/fasta/parser/dart_vm_native.dart
+++ b/pkg/front_end/lib/src/fasta/parser/dart_vm_native.dart
@@ -28,8 +28,7 @@ Token skipNativeClause(Token token) {
if (!optional("native", token)) return null;
token = token.next;
if (token.kind != STRING_TOKEN) return null;
- token = token.next;
- if (!optional(";", token)) return null;
+ if (!optional(";", token.next)) return null;
return token;
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/body_builder.dart ('k') | pkg/front_end/lib/src/fasta/parser/listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698