HomePhorge

(PUP-3998) Fix interpolation of "${0[...]}"
cf3b180cc7b9Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3998) Fix interpolation of "${0[...]}"

When interpolating a short form numeric variable name (e.g. ${0}) and
continuing with an access operation (to take a substring e.g.
${0[2,4]}) this failed because the validation of a Variable expected the
name of the variable to always be a NAME, not an integer).

This fixes the validation logic, and adds tests.

Also fixed is the label provider which now provides the label "Undef
Value" instead of "Nil Object".

Details

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPUcf3b180cc7b9: (PUP-3998) Fix interpolation of "${0[...]}" (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Feb 11 2015, 11:44 PM