Add .WHERE, .DEFINITE and .REPR to list of reserved methods#4767
Merged
schultzdavid merged 5 commits intomainfrom Mar 13, 2026
Merged
Add .WHERE, .DEFINITE and .REPR to list of reserved methods#4767schultzdavid merged 5 commits intomainfrom
schultzdavid merged 5 commits intomainfrom
Conversation
This change was introduced with commit a0a198d and applies from Rakudo 2026.01.
as introduced by commits 6292774 and 971b2fa4
Collaborator
Author
|
PR can be merged. The point about garbage collection is a separate and minor topic. |
Collaborator
Author
|
I think one should also append a warning about using Indeed, despite rather extensive searching I did not find any tests of combinations of hyperoperators with WHAT/WHO/HOW/VAR/WHERE/DEFINITE/REPR. |
Collaborator
|
Please make a rakudo issue for this. |
Collaborator
Author
|
Rakudo issue created here: rakudo/rakudo#6084 :) |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These are three items from the Checklist for 2026.01 (#4758), which were introduced with commits a0a198d, 62927745 and 971b2fa4 respectively. They apply from Rakudo 2026.01 (as is stated in the new text).
Question: Do all three VMs for Rakudo have a moving or compacting garbage collector? I found evidence of this only for MoarVM (here), but am not sure about the particular JVM and JS VM.
Context: The two other files that say something about
WHEREexplain that its return value may change due to garbage collection:These files don't need changing because of these commits, but we could take the occasion to make sure that both places tell the complete and correct story.