[Swift-devel] Swift input data: @java and string interpolation bug
Justin M Wozniak
wozniak at mcs.anl.gov
Mon Sep 26 11:23:30 CDT 2011
I just committed a fix to @java() wrt to the DSHandle.toString() change.
Today, I used it for something like:
string s = @java("java.lang.System", "getProperty", "user.dir");
tracef("s: %s\n", s);
string t = @java("java.lang.System", "getenv", "PATH");
tracef("t: %s\n", t);
which both do what one would expect.
I was also looking at string interpolation: the current behavior for:
string v = "hi";
string u = "{v}";
results in:
Execution failed:
Variable not found: v
I would like to look at this further but my first thought is that maybe
Swift should not use Karajan <variable> directly.
Justin
--
Justin M Wozniak
More information about the Swift-devel
mailing list