-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle nested interpolations #61
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Thanks for the PR!
Could you update the unit tests to add an example that covers this case?
I will add unit tests, this is an issue I was facing and unable to solve. |
I created the tests, and PR'ed against the repo that opened the PR. The test cases I added are representative of actual TF string interpolations I am encountering/using. I was unable to extend the Lark functionality to handle them. |
@matt-land I had to update the tests 7020ee0 to include the fixed list handling that was added in 3.0.0 but otherwise the tests look fine to me. Let me know which one was failing for you |
Nested interpolations are raising errors.
The fix lets interpolations contain other interpolations inside them, like this example: