Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
restrictOverrideTo
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
You can’t perform that action at this time.