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

Mihael Hategan hategan at mcs.anl.gov
Tue Sep 27 00:48:55 CDT 2011


On Mon, 2011-09-26 at 17:38 -0500, Justin M Wozniak wrote:
> On Mon, 26 Sep 2011, Mihael Hategan wrote:
> >
> > Whether we're going to use the same syntax is a different story. But I
> > believe that before we do this, we should discuss the following:
> > - how are various data types going to be converted to string
> > - the exact syntax that we want
> > - whether we're going to support format specifiers (for ints and floats)
> 
> Oh, I think we should hide the Karajan interpolation from Swift.  I think 
> the dataflow from string interpolation could be problematic. 

Right. That it would.

>  My initial 
> suggestion is to replace the generated <variable> elements with another 
> element that skips interpolation, if that is in fact where this is coming 
> from.  Or we could try to fix the original intended behavior.
> 

... or convert things to a @strcat internally?





More information about the Swift-devel mailing list