ceylon/ceylon-compiler — Issue #404: Some boxing issues with String and spread
Author: FroMage
Created: 2012-02-27 09:11:18+00:00
State: open
Labels: BUG, high priority

I just ran `ant publish test` and found that certain tests fail because the wrong String is returned (or expected):

````
[ceylonc] ceylon.language/test/numbers.ceylon:52: incompatible types
[ceylonc] found : ceylon.language.String
[ceylonc] required: java.lang.String
[ceylonc] assert((1.0).string in {"1", "1.0"}, "float string 1.0");
[ceylonc] ^
[ceylonc] ceylon.language/test/operators.ceylon:17: incompatible types
[ceylonc] found : ceylon.language.String
[ceylonc] required: java.lang.String
[ceylonc] assert(!nonempty empty[].uppercased, "spread 1");
[ceylonc] ^
[ceylonc] ceylon.language/test/operators.ceylon:18: incompatible types
[ceylonc] found : ceylon.language.String
[ceylonc] required: java.lang.String
[ceylonc] assert(nonempty full[].uppercased, "spread 2");
[ceylonc] ^
[ceylonc] ceylon.language/test/operators.ceylon:19: incompatible types
[ceylonc] found : ceylon.language.String
[ceylonc] required: java.lang.String
[ceylonc] value spread1 = full[].uppercased;
[ceylonc] ^

````