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

Unified Diff: pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart

Issue 2960723004: Handle super-method call (Closed)
Patch Set: Created 3 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: pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
index 8182195eca4d3a8ddbc9828fd3308b978158d627..bcc7f193976970f854acfa96a6f5cb835faae76f 100644
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
@@ -1951,8 +1951,7 @@ class Emitter extends js_emitter.EmitterBase {
jsAst.Comment buildGeneratedBy() {
List<String> options = [];
- if (commonElements.mirrorsLibrary != null &&
- !compiler.options.loadFromDill) {
+ if (_closedWorld.backendUsage.isMirrorsUsed) {
// TODO(johnniwinther): Add `isMirrorsUsed` to [BackendData] instead
// of checking `mirrorsLibrary`.
Siggi Cherem (dart-lang) 2017/06/27 20:12:57 delete todo :)
Johnni Winther 2017/06/28 08:03:03 Done.
options.add('mirrors');

Powered by Google App Engine
This is Rietveld 408576698