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

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

Issue 23600017: Revert "Support dynamic as type literal." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 93354499a36635ce3d6a987d8d0f6014aa579d0d..cfb179c210fe11e521f68c04a04e529586212e61 100644
--- a/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
@@ -657,7 +657,6 @@ class Namer implements ClosureNamer {
/// Returns the runtime name for [element]. The result is not safe as an id.
String getRuntimeTypeName(Element element) {
- if (identical(element, compiler.dynamicClass)) return 'dynamic';
JavaScriptBackend backend = compiler.backend;
element = backend.getImplementationClass(element);
String name = getPrimitiveInterceptorRuntimeName(element);

Powered by Google App Engine
This is Rietveld 408576698