Closed yobert closed 6 years ago
Oh wow. Thanks a lot!
Yeah I'm amazed nobody else hit that yet! Thanks for the quick release :D
... I've found some more problems with this. It doesn't work with more than 2 expansions. I think the answer is to refactor that expand() function a little bit to use a stack of previously used key names instead of a shared map. I'll be sending another PR with these fixes soon if that's okay with you.
This enables properties like this:
Previously, this would incorrectly throw a circular reference error. Now instead this will correctly evaluate the above as "c = b b".