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

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

Issue 1169453005: dart2js: Ensure that typevariables of superclasses are also emitted. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Indentation fix 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
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/old_emitter/class_emitter.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1ab1cfcbd9a5850e31412e74420c4bef0a326e8d..cb70f011ec8bd1feaaf00fdede501e7020d2858d 100644
--- a/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart
+++ b/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart
@@ -2170,7 +2170,7 @@ class JsVariableMirror extends JsDeclarationMirror implements VariableMirror {
}
}
}
- int type = int.parse(fieldInformation[1]);
+ int type = int.parse(fieldInformation[1], onError: (_) => null);
return new JsVariableMirror(s(unmangledName),
jsName,
type,
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/old_emitter/class_emitter.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698