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

6.* version object not represented correctly #5323

Closed
ugexe opened this issue Jul 27, 2023 · 0 comments
Closed

6.* version object not represented correctly #5323

ugexe opened this issue Jul 27, 2023 · 0 comments
Assignees
Labels
regression Issue did not exist previously

Comments

@ugexe
Copy link
Member

ugexe commented Jul 27, 2023

The Problem

In a recent commit a new(Version: '6.*') method candidate was added that returns a value that is unexpected for most usages of Version (i.e. anything not comparing to raku's version such as module versions themselves).

Expected Behavior

$ rakubrew switch moar-2023.05
Switching to moar-2023.05

$ raku -e 'say v6.9 ~~ v6.*'
True

Actual Behavior

$ rakubrew switch moar-blead
Switching to moar-blead

$ raku -e 'say v6.9 ~~ v6.*'
False
@ugexe ugexe added the regression Issue did not exist previously label Jul 27, 2023
@lizmat lizmat self-assigned this Jul 27, 2023
@lizmat lizmat closed this as completed in 824a500 Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression Issue did not exist previously
Projects
None yet
Development

No branches or pull requests

2 participants