-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Regression: "Not enough arguments for Readonly" in v1.500.0 #8
Comments
Due to this bug: sanko/readonly#8
This might also be why t/23-readonly.t in Params-Validate 1.11 fails with the new Readonly:
Result:
|
Sigh. Reverting and documenting. Here's what went wrong: The prototype for
The documentation never mentioned this really obvious difference in the right places for some so when I received a report asking about closing what they saw as a bug in Aside: too many people have been using undocumented functionality for me to correct anything meaningful in the API without breaking a lot of code. I need to print a banner of that and hang it somewhere to remind me. :) Anyway, yeah, reverting and documenting. Next version will be on PAUSE in a few hours. I'll close this with the commit later. Edit: Oh, and thanks for the report! :) ...more annoyed with the API than I am with users. With the sighing and all it may come off a little gruff. Really, though, thanks for the report and for using Readonly in the first place. |
@pghmcfc that seems to be something else entirely. Works fine over the old |
@pghmcfc Found it. Weird that a smoker with Readonly::XS installed didn't shake this one out long ago. Should be resolved in 1.60. |
Certain Readonly constructs which previously worked fine now fail with "Not enough arguments for Readonly" as of v1.500.0 - as in this testcase:
Not sure what's going on there.
The non-contrived example which I actually hit is that my module had a line like this:
...and it suddenly broke when Readonly was upgraded.
The text was updated successfully, but these errors were encountered: