On 2/9/24 10:51, Patrick Palka wrote:
It turns out that with modules we can call mangle_decl recursively, which is a problem because the global mangling state isn't recursion aware. The recursion happens from write_closure_type_name, which calls lambda function, which performs name lookup, which can trigger lazy loading,
Hmm, why would looking for a member of a closure trigger lazy loading? Jason