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

Unified Diff: sdk/lib/_internal/compiler/implementation/js_backend/namer.dart

Issue 172853007: Rename DummyRecieverConstant to DummyConstant (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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: sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart b/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
index 8ac77b0f51351049b8cf95904938d7f66aa06acc..1b79342173fb6dde7d83fd212840f190aa5287c5 100644
--- a/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
@@ -1189,7 +1189,7 @@ class ConstantNamingVisitor implements ConstantVisitor {
add('methods');
}
- visitDummyReceiver(DummyReceiverConstant constant) {
+ visitDummy(DummyConstant constant) {
add('dummy_receiver');
}
}
@@ -1269,7 +1269,7 @@ class ConstantCanonicalHasher implements ConstantVisitor<int> {
return _hashString(5, typeName);
}
- visitDummyReceiver(DummyReceiverConstant constant) {
+ visitDummy(DummyConstant constant) {
compiler.internalError(
'DummyReceiverConstant should never be named and never be subconstant');
}

Powered by Google App Engine
This is Rietveld 408576698