hydroper commented on issue #207:
URL: 
https://github.com/apache/royale-compiler/issues/207#issuecomment-2050598787

   Just to update, I've updated AS3Parser to comply with ECMAScript 4 syntax 
for function type expressions.
   
   ```
   type F1 = function(): T
   type F2 = function(a?: T): T
   type F3 = function(...a: [T]): T
   ```
   
   The optional parameter format is probably not what you may think that looks 
right, but if you come to think of it, it is fine because that function type 
passes through erasure and translates mostly to `Function` at runtime.


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

Reply via email to