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
Cannot always match signature when default value is a sub #2059
Comments
From patrick.abisalloum@gmail.com<patrickas> rakudo: sub foo ( $f = rand ) { say $f; }; say <patrickas> rakudo: sub foo ( $f = 0.461541885367723 ) { say $f; }; <patrickas> rakudo: sub foo ( $f = substr('string',0) ) { say $f; }; |
From @cokeOn Wed Aug 11 08:58:45 2010, patrickas wrote:
These now all fail to smartmatch, which I don't think is the requested -- |
The RT System itself - Status changed from 'new' to 'open' |
From @moritzThis has been fixed by jnthn++; smart-matching a capture against a I've added a test to S03-smartmatch/capture-signature.t; more tests are |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#77164 (status was 'resolved')
Searchable as RT77164$
The text was updated successfully, but these errors were encountered: