Skip to content
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

Merged
merged 1 commit into from Aug 25, 2019
Merged

Document Metamodel::Versioning #2968

merged 1 commit into from Aug 25, 2019

Conversation

Kaiepi
Copy link
Collaborator

@Kaiepi Kaiepi commented Aug 25, 2019

No description provided.

JJ added a commit to JJ/my-raku-examples that referenced this pull request Aug 25, 2019
JJ added a commit to JJ/my-raku-examples that referenced this pull request Aug 25, 2019
Copy link
Contributor

@JJ JJ left a 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

doc/Type/Metamodel/Versioning.pod6 Outdated Show resolved Hide resolved
doc/Type/Metamodel/Versioning.pod6 Outdated Show resolved Hide resolved
doc/Type/Metamodel/Versioning.pod6 Show resolved Hide resolved
@Kaiepi
Copy link
Collaborator Author

Kaiepi commented Aug 25, 2019

Sorry, there's a couple issues with the unit tests that I haven't reported yet that prevent me from being able to run xt/examples-compilation.t and t/02-pods-valid.t. I'll comment again once Travis is happy

@JJ JJ merged commit ef76a37 into Raku:master Aug 25, 2019

method ver($obj)

Returns the version of the metaobject, if any, otherwise returns L<Mu|/type/Mu>.
Copy link

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 COREs are compiled and thus is only relevant to core developers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants