[Swift-devel] how to comment out brackets

skenny at uchicago.edu skenny at uchicago.edu
Tue Feb 9 18:13:10 CST 2010


does anyone know if there's a way i can comment out a bracket
in a swift string?

for example something like this:

string cmdstr = "\{";
trace(cmdstr);

produces:

Could not compile SwiftScript source: line 15:27: unexpected
char: '{'

not sure if it's a bug or i'm just missing something really
simple here :)

~sk



More information about the Swift-devel mailing list