JuliaLang/julia — Issue #455: Quotes and string interpolation
Author: afriggeri
Created: 2012-02-23 21:52:22+00:00
State: open

> The shortest complete expression after the $ is taken as the expression whose value is to be interpolated into the string. Thus, you can interpolate any expression into a string using parentheses:

This doesn't work :

julia> "$("string")"
syntax error: macro string_str not defined

I suspect a lexing/parsing error, it gets parsed as `["$"] [string")" ]`.