| Issue 61: | Default args in interface | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Interfaces default values don't work correctly.
Jan 24, 2011
This is the desired behaviour.
Status:
WontFix
|
interface Intf { function Print(inVal:String = "Interface") : Void ; } class Impl implements Intf { public function new() {} public function Print(inVal:String = "Impl") : Void { trace(inVal); } } class Test { public static function main() { var impl = new Impl(); impl.Print(); var intf:Intf = impl; intf.Print(); } }