-
Notifications
You must be signed in to change notification settings - Fork 560
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
[EXPERIMENT] infix "isa" operator #18754
Comments
The utility of this not withstanding, As an outside observer, I have a concern that the way in which it is implemented invites a whole host of additions. |
Context on As it stands I believe |
Aside from a tiny correction in documentation, this feature remained unchanged through the entire 5.33 series, and is the same in 5.34.0 as when it was released in 5.32.0. If there are no significant changes by the time we release 5.36.0, I see no reason it needs to remain experimental. I have no plans to make any further changes to it, so I suspect if the situation remains as it is, we should unmark it around the time of 5.35.6 or so - by my count that would be around January 2022. |
A (currently-draft) PR to deêxperimentalise |
I am getting errors in Perl v5.34 with DateTime classes: if ($date isa DateTime) { ... } The error is
I'm having trouble reproducing this in a simple test script, but this error is preventing me from using the feature in one codebase. FWIW, it's with DateTime 1.57. |
@robrwo Don't forget you still need to
|
@leonerd No, even using the experimental and/or feature pragmas, I still get this error. |
I also get the error when saying no feature 'indirect'; |
Interesting. I'd suggest raising it as a new bug with source, instead of here on this experiment-tracking issue. |
That error sounds a lot like #18679, but that is fixed in 5.34.0. |
I get the error in 5.34.0. I am trying to write a simple script to replicate it. |
Issue #17200 describes the plan for an infix "isa" operator, which was added to the language in v5.32.0 as an experiment. This issue tracks the experiment toward its conclusion.
The text was updated successfully, but these errors were encountered: