Skip to content
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

Allow variable refs in interpolated strings #36

Merged
merged 2 commits into from
Nov 7, 2016

Conversation

kevsmith
Copy link
Member

@kevsmith kevsmith commented Nov 7, 2016

Adding inteprolated string support accidentally broke the case where a
quoted string contained a valid variable reference. This commit fixes
the bug and adds tests to prevent regressions in the future.

Fixes operable/cog#1135

Adding inteprolated string support accidentally broke the case where a
quoted string contained a valid variable reference. This commit fixes
the bug and adds tests to prevent regressions in the future.
@kevsmith kevsmith added the review label Nov 7, 2016
@kevsmith
Copy link
Member Author

kevsmith commented Nov 7, 2016

Second commit adds a small cleanup to make string handling Unicode safe. This was missed in PR #35

@kevsmith kevsmith merged commit 1d52b32 into master Nov 7, 2016
@kevsmith kevsmith deleted the kevsmith/quoted-strings-with-vars branch November 7, 2016 17:25
@kevsmith kevsmith removed the review label Nov 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

string interpolation in aliases
2 participants