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
redeclaration of a type in a function signature does not parsefail. #3706
Comments
From the.ashleydev+rt.cpan.org@gmail.com(11:17) < TimToady> m: sub foo(::T $f, ::T $g) { say T }; foo(1,"foo") http://irclog.perlgeek.de/perl6/2015-02-26#i_10185616 Note the following discussion where similar cases are caught by the type checker just not the redeclaration of ::T. |
From @MouqThis bug was fixed in Rakudo commit: commit c8ac15be78ea166ece522b239c7f5899d2e373b7 Throw redeclaration error for duplicate type capture Tests were added in Roast commit: commit 9c177595c2c565d21d980c79067608d98250cc67 add tests for dup parameter names including ::T Closing this ticket as resolved :) On Thu Feb 26 11:26:57 2015, the.ashleydev+rt.cpan.org@gmail.com wrote:
|
The RT System itself - Status changed from 'new' to 'open' |
@Mouq - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#123939 (status was 'resolved')
Searchable as RT123939$
The text was updated successfully, but these errors were encountered: