CC-Archived / promise-as3

Promises/A+ compliant implementation in ActionScript 3.0
168 stars 55 forks source link

fixes issue #33 #34

Closed fwienber closed 10 years ago

fwienber commented 10 years ago

"optionally" swallows parameters when target function uses ...rest parameter https://github.com/CodeCatalyst/promise-as3/issues/33

Implemented as proposed by John Yanarella: try to invoke with all given parameters and only slice to function's length if that fails with an ArgumentError.

johnyanarella commented 10 years ago

Looks great. Thanks!