-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document Metamodel::Versioning #2968
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check calls to ^api
Sorry, there's a couple issues with the unit tests that I haven't reported yet that prevent me from being able to run |
|
||
method ver($obj) | ||
|
||
Returns the version of the metaobject, if any, otherwise returns L<Mu|/type/Mu>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With recent changes something like the following could be added to this:
For CORE classes the method would report language version they were compiled with. For example:
use v6.d; say PseudoStash.^ver; # 6.c because this is where the class is actually defined.
use v6.e.PREVIEW; say PseudoStash.^ver; # 6.e
Actually, the version is set by set_ver
method, but I'm not sure if it worth mentioning here because it is only happens when CORE
s are compiled and thus is only relevant to core developers.
No description provided.