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

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

Issue 2908153003: It's alive! (Closed)
Patch Set: Updated cf. comments Created 3 years, 7 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/class_emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart
index 897bc0f72014d4fcc4d3948b732357c7f39d9c4d..917008c2e818857340dd67d8f854d4b9220b7ffe 100644
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart
@@ -339,7 +339,7 @@ class ClassEmitter extends CodeEmitterHelper {
// TODO(herhut): Do not grab statics out of the properties.
ClassBuilder classProperties =
- emitter.elementDescriptors[fragment].remove(classElement);
+ emitter.classDescriptors[fragment]?.remove(classElement);
if (classProperties != null) {
statics.addAll(classProperties.properties);
}

Powered by Google App Engine
This is Rietveld 408576698