You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2019/04/05 16:26:32 UTC

[GitHub] [royale-compiler] joshtynjala commented on issue #75: Abstract methods in ActionScript

joshtynjala commented on issue #75: Abstract methods in ActionScript
URL: https://github.com/apache/royale-compiler/issues/75#issuecomment-480338609
 
 
   @carlosrovira I have expanded abstract classes to include support for abstract methods.
   
   If a class is marked as `abstract`, it cannot be instantiated directly with `new`. It must be subclassed.
   
   An abstract class may define variables, properties, and methods normally, but it may also optionally define methods marked as `abstract`. An abstract method cannot be `static`, `final`, or a getter/setter, and it must not have a body. A subclass that is not abstract must provide implementations for any abstract methods, similar to how implementations must be provided for methods when implementing an interface.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services