spullara/mustache.java — pull request #34 by mcheely (2012-06-28 01:38:26+00:00)
Title: More detailed wrapper caching tests

There still appear to be some scope miss caching issues after adding some better test cases. The first ones were a bit light & a bit sloppy. Sorry about that. I think at least 50% of the issue is that ReflectionObjectHandler.find throws away any found wrappers from a previous scope when checking a subsequent scope. The resulting cached wrapper passes all the guards, but only checks for a hit in the final scope. Full disclosure: That's just my intuition from code review speaking, I didn't have time to fully verify.