Created
June 24, 2019 07:20
-
-
Save joseoliv/841f22df7abce2ce6fccefa47ced2634 to your computer and use it in GitHub Desktop.
restrictOverrideTo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package metaobjectTest | |
@doc{* | |
Annotation 'restrictOverrideTo' should be attached to | |
a method. Its parameter list is composed of prototype names, | |
with the package. The annotated method can only be | |
overridden in those prototypes. | |
*} | |
open | |
object RestrictOverrideTo | |
func run { } | |
@restrictOverrideTo(main.SubRestrictOverrideTo, main.SubOtherRestrictOverrideTo) | |
func myprint { } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment