linkedin/dustjs — pull request #363 by rragan (2013-11-09 22:06:53+00:00)
Title: Issue #340. Remove old optimization to avoid looking at arrays in get.

Issue #340

Original code (pre $idx) tried to optimize get by not checking for value when an array was at the head. With the addition of $idx, this "optimization" breaks a use case. Removing the array check when creating a Stack entry fixes the problem by allowing get to go ahead and discover the $idx value on the stack. Added a test for the reported problem.