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

Fix type check for args passed to add_words() #44

Merged

Conversation

paultcochrane
Copy link
Contributor

@tobyink and @perlpunk worked out in
https://rt.cpan.org/Public/Bug/Display.html?id=144672 that the closing square brace in the types check to the add_words sub was not in the correct place. As mentioned by @tobyink in the RT ticket:

Versions of Type::Params prior to 2.000000 would not have spotted this mistake

@perlpunk provided the patch which I'm submitting in this commit.

This change makes the test suite pass again and would hence close both issue #42 and issue #38.

This PR is submitted in the hope that it is useful. If you need anything changed, please don't hesitate to let me know and I'll be more than happy to update and resubmit as necessary.

@tobyink and @perlpunk worked out in
https://rt.cpan.org/Public/Bug/Display.html?id=144672 that the closing
square brace in the types check to the `add_words` sub was not in the
correct place.  As mentioned by @tobyink in the RT ticket:

> Versions of Type::Params prior to 2.000000 would not have spotted this mistake

@perlpunk provided the patch which I'm submitting in this commit.

This change makes the test suite pass again and would hence close both
issue bbusschots#42 and issue bbusschots#38.
@bbusschots bbusschots merged commit 04af4d7 into bbusschots:master Sep 21, 2024
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

2 participants