carbon-lang
carbon-lang copied to clipboard
Explorer does not support current block string literal syntax
Block string literal syntax was recently changed (#1360), however Explorer does not accept the new syntax:
package ExplorerTest api;
fn Main() -> i32 {
var block: String = '''
This is a block string literal
''';
return 0;
}
produces:
COMPILATION ERROR: invalid character '\x27' in source file.