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

String interpolation works only on top-level String values #21

Open
blamario opened this issue Jul 7, 2015 · 0 comments · May be fixed by #28
Open

String interpolation works only on top-level String values #21

blamario opened this issue Jul 7, 2015 · 0 comments · May be fixed by #28

Comments

@blamario
Copy link

blamario commented Jul 7, 2015

The string interpolation on the second line doesn't work, because it's inside an array:

foo="Foo"
bar= ["$(foo)"]

I see no reason for this behaviour. The documentation doesn't state that interpolation is restricted to top-level strings.

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 a pull request may close this issue.

1 participant