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
Plural parameter names are alowed in .later and .earlier but not in .new (DateTime.new(years => 2016)) #4995
Comments
From @AlexDaniel“year” is allowed everywhere: Code: Result “years” is allowed in .later: Code: Result Yet this is not allowed: Code: Result Actually thrown at: <flussence> why does .later allow "year" and "years", but DateTime.new Indeed, not TIMTOWTDI-ish enough. |
From @lizmat
Alas, MMD doesn’t really make this easy. I actually started implementing this, but it will make things a *lot* slower. I’m not sure it warrants the effort. Now with regards to the LTAness of the error, I’ve committed 75c6b9e84ad74bcd5d5 which now shows: $ 6 'say DateTime.new(years => -50).later(years => 50)' Which makes this ticket closable, as far as I’m concerned. Liz |
The RT System itself - Status changed from 'new' to 'open' |
From @AlexDanielI don't know if this should be implemented. But at the same time, isn't it just a matter of using an arg alias? On 2016-01-05 05:29:15, elizabeth wrote:
|
Migrated from rt.perl.org#127162 (status was 'open')
Searchable as RT127162$
The text was updated successfully, but these errors were encountered: