Looking for values in the enclosing method, also by-name
Re-using method
Enclosing method may be null
Some tests
Using a better expression for type-checking, which can handle primitives
One more test