Closed HenrikBengtsson closed 9 years ago
Fixed: o BUG FIX: getStaticInstance() for Object now searches the parent/calling environment as well. This covers the case when constructors and objects are created in a local environment (contrary to package namespaces and the global environment).
If using
setConstructorS3()
etc. within a local function/environment, then the corresponding static class instance cannot be found, which generates an error.EXAMPLE:
The call to
Foo()
generates: