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

Unified Diff: sdk/lib/_internal/compiler/js_lib/js_mirrors.dart

Issue 1198293002: dart2js: Use an abstract Name class for names in the generated JavaScript ast. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fix tests Created 5 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: sdk/lib/_internal/compiler/js_lib/js_mirrors.dart
diff --git a/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart b/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart
index cb70f011ec8bd1feaaf00fdede501e7020d2858d..5815a32be154d016d57f2d1acd4166c2c930b57a 100644
--- a/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart
+++ b/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart
@@ -1984,7 +1984,7 @@ class JsClassMirror extends JsTypeMirror with JsObjectMirror
var type = getType(typeInformation[0]);
_superclass = typeMirrorFromRuntimeTypeRepresentation(this, type);
} else {
- var superclassName = _fieldsDescriptor.split(';')[0];
+ var superclassName = _fieldsDescriptor.split(';')[0].split(':')[0];
// TODO(zarah): Remove special handing of mixins.
var mixins = superclassName.split('+');
if (mixins.length > 1) {

Powered by Google App Engine
This is Rietveld 408576698