On Thursday, 5 January 2023 at 16:38:49 UTC, Vijay Nayar wrote: > Does that class inherit the scope of the function it is inside, > similar to how an inner class does with an outer class? yup. They can see the local variables from the function.