Last active
June 24, 2019 07:04
-
-
Save joseoliv/39da470185dd674e66a351fa44e69594 to your computer and use it in GitHub Desktop.
restrictImplementation
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 'restrictImplementation' should be attached to | |
an interface. Its parameter list is composed of prototypes. | |
The interface can only be implemented by prototypes that | |
are in the list or its subprototypes. | |
*} | |
@restrictImplementation("metaobjectTest.ImplementRestrictImplementation") | |
interface RestrictImplementation | |
func myprint | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment