Index: pkg/dart2js_incremental/lib/library_updater.dart |
diff --git a/pkg/dart2js_incremental/lib/library_updater.dart b/pkg/dart2js_incremental/lib/library_updater.dart |
index b799e43dd25d283a9dc3455ce079c190ad3ae304..bd2188b9340ab85155c457b52cf029b81fe576ee 100644 |
--- a/pkg/dart2js_incremental/lib/library_updater.dart |
+++ b/pkg/dart2js_incremental/lib/library_updater.dart |
@@ -986,7 +986,7 @@ if (this.pendingStubs) { |
full.Emitter fullEmitter = emitter.emitter; |
jsAst.Expression init = |
fullEmitter.buildLazilyInitializedStaticField( |
- element, isolateProperties: namer.currentIsolate); |
+ element, isolateProperties: namer.staticStateHolder); |
if (init == null) { |
throw new StateError("Initializer optimized away for $element"); |
} |