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
binary junctions of undefs in boolean context fails (21/37) #275
Comments
From @stifynsemonsI've attached a file, junctions.p6, which illustrates that binary junctions the JUNCTION simplifies down to a simple logical operation, as in Perl 5 Thus 1|undef is evaluated as true, as is 1&undef; but 0|undef is also The output of the attached perl script is shown below. ok 1 System info: Copyright 2006-2008, The Perl Foundation. sully:parrot stephensimmons$ uname -a Stephen Simmons |
From @moritzStephen Simmons (via RT) wrote:
Yes, that's my interpretation as well.
Thanks for the tests, I'll rewrite them in terms of Test.pm, and add Tests 34 to 36 were a bit overcritical: (0|undef && say "not ok 34") || say "not ok 34"; but are easily corrected. The rest seem fine to me. Cheers, -- |
The RT System itself - Status changed from 'new' to 'open' |
From @stifynsemonsOn Sun, Aug 24, 2008 at 1:01 PM, Moritz Lenz via RT <
I probably should learn how to do them the right way :-)
Oops. It appears with the 0.7.0 release that they still fail when Thanks,
|
From @bacekThis tests is now part of spectest suite. Resolving ticket. |
@chromatic - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#58302 (status was 'resolved')
Searchable as RT58302$
The text was updated successfully, but these errors were encountered: