return the correct type for closures in type_of
#91055
+9
−13
Merged