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

Unified Diff: pkg/compiler/lib/src/resolution/registry.dart

Issue 1520293002: Add token invariant to DiagnosticReporter (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Rebase + status update Created 5 years 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 | « pkg/compiler/lib/src/resolution/members.dart ('k') | pkg/compiler/lib/src/resolution/resolution.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/resolution/registry.dart
diff --git a/pkg/compiler/lib/src/resolution/registry.dart b/pkg/compiler/lib/src/resolution/registry.dart
index a01b17c3e79064feaf673ad741b3c88d82bd9a47..5fc06e1f13f5d345974e0505fff4d94207f46d8f 100644
--- a/pkg/compiler/lib/src/resolution/registry.dart
+++ b/pkg/compiler/lib/src/resolution/registry.dart
@@ -19,6 +19,7 @@ import '../compiler.dart' show
Compiler;
import '../constants/expressions.dart';
import '../dart_types.dart';
+import '../diagnostics/source_span.dart';
import '../enqueue.dart' show
ResolutionEnqueuer;
import '../elements/elements.dart';
@@ -314,8 +315,8 @@ class ResolutionRegistry extends Registry {
worldImpact.registerTypeUse(typeUse);
}
- void registerSuperUse(Node node) {
- mapping.addSuperUse(node);
+ void registerSuperUse(SourceSpan span) {
+ mapping.addSuperUse(span);
}
void registerTypeLiteral(Send node, DartType type) {
« no previous file with comments | « pkg/compiler/lib/src/resolution/members.dart ('k') | pkg/compiler/lib/src/resolution/resolution.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698