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

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

Issue 2916333002: Setup correct scope for initializers and complain about fields initialized more than once. (Closed)
Patch Set: More typos. 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 0e06be6da220a0d88e51f987434bb6d798682cbe..6a1b1449ee583fbac477ad6c9b496b836d55aac4 100644
--- a/pkg/front_end/lib/src/fasta/source/stack_listener.dart
+++ b/pkg/front_end/lib/src/fasta/source/stack_listener.dart
@@ -71,10 +71,6 @@ abstract class StackListener extends Listener {
// and ast_builder.dart.
void exitLocalScope() => internalError("Unsupported operation");
- // TODO(ahe): This doesn't belong here. Only implemented by body_builder.dart
- // and ast_builder.dart.
- void prepareInitializers() => internalError("Unsupported operation");
-
void push(Object node) {
if (node == null) internalError("null not allowed.");
stack.push(node);

Powered by Google App Engine
This is Rietveld 408576698