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
A returned () is a Nil but doesn't smartmatch against one #783
Comments
From @masak<masak> rakudo: sub foo { return }; say foo.WHAT; say ?(foo ~~ Nil) Expected behavior: a "Nil" and a 1. Or an explanation about why a |
From @kylehaOn Sun Mar 15 08:36:42 2009, masak wrote:
<pmichaud> KyleHa: n ~~ Nil is the same as n( ~( ~Nil ) ) I wrote tests for this behavior in S02-builtin_data_types/nil.t |
From @pmichaudOn Sun Mar 15 08:36:42 2009, masak wrote:
Note that "foo ~~ Nil" is the same as "foo(~~Nil)" which is the same as Rejecting ticket. Pm |
The RT System itself - Status changed from 'new' to 'open' |
@pmichaud - Status changed from 'open' to 'rejected' |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in b/t/spec/S02-builtin_data_types/nil.t |
Migrated from rt.perl.org#63894 (status was 'rejected')
Searchable as RT63894$
The text was updated successfully, but these errors were encountered: