Index: runtime/vm/precompiler.cc |
diff --git a/runtime/vm/precompiler.cc b/runtime/vm/precompiler.cc |
index 0b533f0120e9cb0fe13dce88dc296fb8144a46d2..3475fbdef99b32bb3053c8804721b95b56426300 100644 |
--- a/runtime/vm/precompiler.cc |
+++ b/runtime/vm/precompiler.cc |
@@ -1087,6 +1087,7 @@ void Precompiler::VisitFunctions(FunctionVisitor* visitor) { |
for (intptr_t j = 0; j < closures.Length(); j++) { |
function ^= closures.At(j); |
visitor->VisitFunction(function); |
+ ASSERT(!function.HasImplicitClosureFunction()); |
} |
} |