Index: pkg/compiler/lib/src/closure.dart |
diff --git a/pkg/compiler/lib/src/closure.dart b/pkg/compiler/lib/src/closure.dart |
index 00311f09afcac9fb50742af359a1aa432e5ccfd9..5a94e8555e84cbaea0837a59250cff47b674f400 100644 |
--- a/pkg/compiler/lib/src/closure.dart |
+++ b/pkg/compiler/lib/src/closure.dart |
@@ -1378,7 +1378,7 @@ class ClosureTranslator extends Visitor { |
ClosureClassElement globalizedElement = |
new ClosureClassElement(node, closureName, compiler, element); |
// Extend [globalizedElement] as an instantiated class in the closed world. |
- closedWorldRefiner.registerClosureClass(globalizedElement); |
+ closedWorldRefiner.registerClosureClass(globalizedElement, false); |
MethodElement callElement = new SynthesizedCallMethodElementX( |
Identifiers.call, element, globalizedElement, node, elements); |
backend.mirrorsDataBuilder.maybeMarkClosureAsNeededForReflection( |