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 178: default arguments for closures do not work
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Jun 2012


 
Reported by simon.kr...@simn.de, Jun 3, 2012
class Main {
	static public function main() {
		var f = function(a = 2) {
			trace(a);
		}
		f();
	}
}

This will correctly trace 2 on all platforms except cpp where it gives 0. This has to be fixed because the implementation of callback relies on default closure argument values.
Jun 11, 2012
Project Member #1 gameh...@gmail.com
Should be fixed on SVN.
Status: Fixed

Powered by Google Project Hosting