| Issue 115: | reverse function args evaluation | |
| 1 person starred this issue and may be notified of changes. | Back to list |
// hxcpp 2.07.0 + haxe 2.0.7 + neko 1.8.1
var t:List<String> = new List();
t.add("first");
t.add("second");
trace(t); // => {first, second}
var test = function (f:String,s:String) { trace( f + ' ' + s); }
test(t.pop(),t.pop());
// neko => first second
// cpp => second first
Apr 27, 2011
#1
vixn...@gmail.com
Aug 10, 2011
Yes, this is a known issue with cpp. I'm hoping some code from the pending java target may help here.
Status:
Duplicate
|