[Swift-devel] Swift input data: @java and string interpolation bug

Justin M Wozniak wozniak at mcs.anl.gov
Mon Sep 26 14:13:49 CDT 2011


On Mon, 26 Sep 2011, Mihael Hategan wrote:

> On Mon, 2011-09-26 at 11:23 -0500, Justin M Wozniak wrote:
>
>> string v = "hi";
>> string u = "{v}";
>>
>> results in:
>>
>> Execution failed:
>>          Variable not found: v
>
> The compiler should escape "{" I think.

So should we try to repair this or use a different approach? (I imagine 
users have seen this.)

-- 
Justin M Wozniak



More information about the Swift-devel mailing list