Menu

#161 String juxtaposition not working with chars

open
nobody
None
5
2005-04-16
2005-04-16
Anonymous
No

String juxtaposition does not work when single
quoted chars are involved.

Nice compiler version 0.9.10 (build 2005.02.25,
16:35:29 UTC)
Compiled using JDK 1.4.2_04
Copyright (C) 2003 Daniel Bonniot
Visit the Nice homepage: http://nice.sourceforge.net

The last two testcases fail compilation.

========== stringconcat.testsuite ============
/// GLOBAL
let int one = 1;
let int two = 2;

/// PASS
println("a" one "b" two);

/// PASS
println('a' + one + 'b' + two);

/// PASS bug
println("a" one 'b' two);

/// PASS bug
println('a' one 'b' two);

Discussion


Log in to post a comment.