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