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

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

Issue 2963703002: Add type inference of annotations. (Closed)
Patch Set: Created 3 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
Index: pkg/front_end/lib/src/fasta/source/stack_listener.dart
diff --git a/pkg/front_end/lib/src/fasta/source/stack_listener.dart b/pkg/front_end/lib/src/fasta/source/stack_listener.dart
index 0edab65078c7c059dc522b43f0ecf288837a76e8..f1bfcf53923aff07d5704f66fb244406b8a09f3a 100644
--- a/pkg/front_end/lib/src/fasta/source/stack_listener.dart
+++ b/pkg/front_end/lib/src/fasta/source/stack_listener.dart
@@ -14,7 +14,7 @@ import '../scanner.dart' show Token;
import '../../scanner/token.dart' show BeginToken;
-import 'package:kernel/ast.dart' show AsyncMarker;
+import 'package:kernel/ast.dart' show AsyncMarker, Expression;
import '../errors.dart' show inputError, internalError;
@@ -67,6 +67,12 @@ abstract class StackListener extends Listener {
return internalError("Unsupported operation");
}
+ // TODO(ahe): This doesn't belong here. Only implemented by body_builder.dart
+ // and ast_builder.dart.
+ List<Expression> finishMetadata() {
+ return internalError("Unsupported operation");
+ }
+
// TODO(ahe): This doesn't belong here. Only implemented by body_builder.dart
// and ast_builder.dart.
void exitLocalScope() => internalError("Unsupported operation");

Powered by Google App Engine
This is Rietveld 408576698