Index: runtime/vm/parser.cc |
diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc |
index 116388b328332fb66d9d187994f3784c8c78da03..419cd4e151de9abb07b46e48f1f77701f1ae317e 100644 |
--- a/runtime/vm/parser.cc |
+++ b/runtime/vm/parser.cc |
@@ -12884,6 +12884,7 @@ RawFunction* Parser::BuildConstructorClosureFunction(const Function& ctr, |
token_pos); |
closure.set_is_generated_body(true); |
closure.set_is_debuggable(false); |
+ closure.set_is_visible(false); |
closure.set_result_type(AbstractType::Handle(Type::DynamicType())); |
AddFormalParamsToFunction(¶ms, closure); |