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

Unified Diff: pkg/front_end/lib/src/fasta/source/diet_listener.dart

Issue 2738903002: Change the calling conventions for handleUnrecoverableError. (Closed)
Patch Set: 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/source/diet_listener.dart
diff --git a/pkg/front_end/lib/src/fasta/source/diet_listener.dart b/pkg/front_end/lib/src/fasta/source/diet_listener.dart
index 63b1723b9132119b83093d045ac1194bb106f5d5..31930ae33c17c86b147f675ced2b541120643b32 100644
--- a/pkg/front_end/lib/src/fasta/source/diet_listener.dart
+++ b/pkg/front_end/lib/src/fasta/source/diet_listener.dart
@@ -466,7 +466,7 @@ class DietListener extends StackListener {
Token recover = skipNativeClause(token);
ahe 2017/03/09 12:08:39 Change skipNativeClause?
Paul Berry 2017/03/09 21:51:22 Done.
if (recover != null) {
assert(isTargetingDartVm);
- return recover;
+ return newSyntheticToken(recover);
}
}
return super.handleUnrecoverableError(token, kind, arguments);

Powered by Google App Engine
This is Rietveld 408576698