Kray-G/kinx

Operator `<<` doesn't work for a string in a variable.

Kray-G opened this issue · 0 comments

The following code doesn't work.

class Console {
    public <<(msg) {
        System.print(msg);
        return this;
    }
}

var v = "v";
var COUT = new Console();
COUT << "a\n";  // Good.
COUT << v << "\n"; // doesn't work.