Hi 2016-08-25 8:52 GMT+02:00 Tudor Girba <[email protected]>:
> Furthermore, as #asClass is meant to be mainly used for convenience, not > performance, I would also propose to make it lookup in thisContext and take > the environment from there. I know that his might sound like magic, but it > would be the default that we are looking for (to always lookup through the > current environment dynamically). We could also make #asClass as "always deprecated" method with automatic rewriting. So in tools people will always see that it is better to not use it. But for scripting it will work normally. Also if people will commit such code it will become dirty very fast and always. And they will need to fix it
