hydroper commented on issue #237: URL: https://github.com/apache/royale-compiler/issues/237#issuecomment-2050694618
OK, I've done a silly change of function type syntax for two reasons: * Exactly as in ECMAScript 4 * It is simpler in that it does not contain parameter "names"; therefore structural type checking should be easier. ``` type F = function(T, Number=, ...): T type F = function(T, Number=, ...[T]): T ``` Very much sorry for the change as I've forgot of certain ES4 details (I've last read their [overview paper](https://archives.ecma-international.org/2007/misc/overview.pdf) in like 2017). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@royale.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org