CodeCatalyst/promise-as3 — pull request #34 by fwienber (2014-04-01 08:40:18+00:00)
Title: fixes issue #33

"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.