My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 115: reverse function args evaluation
1 person starred this issue and may be notified of changes. Back to list
Status:  Duplicate
Owner:  ----
Closed:  Aug 2011


 
Reported by vixn...@gmail.com, Apr 10, 2011
// 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
seems this issue can be closed, it's neko relative.

https://code.google.com/p/haxe/issues/detail?id=403#c1
Aug 10, 2011
Project Member #2 gameh...@gmail.com
Yes, this is a known issue with cpp.  I'm hoping some code from the pending java target may help here.
Status: Duplicate

Powered by Google Project Hosting