mirror of https://github.com/pulumi/pulumi.git
![]() The tokens that make up the "key" portion of an index traversal (e.g. `"foo"` in `a["foo"]`) are structured like those that make up a block label: an open quote token, a string literal token, and a close quote token. The token mapper did not account for that fact, and instead recorded the key token as the open quote. These changes correct that error, and adjust the code in `literalText` to allow for properly-escaped and quoted strings where necessary. |
||
---|---|---|
.. | ||
testdata | ||
comments.go | ||
comments_test.go | ||
parser.go | ||
tokens.go | ||
utilities.go |