When constructing a closure, codegen in some cases incorrectly determined if it needed to store a reference from a nested class to the outer
#KT-1174 In Progress