Skip to content
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

undef & undef ~~ undef returns False in Rakudo #434

Closed
p6rt opened this issue Nov 27, 2008 · 6 comments
Closed

undef & undef ~~ undef returns False in Rakudo #434

p6rt opened this issue Nov 27, 2008 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Nov 27, 2008

Migrated from rt.perl.org#60886 (status was 'resolved')

Searchable as RT60886$

@p6rt
Copy link
Author

p6rt commented Nov 27, 2008

From @masak

<masak> rakudo​: say undef ~~ undef; say undef & undef ~~ undef
<p6eval> rakudo 33276​: OUTPUT[1␤0␤]
<masak> what's going on there?
<moritz_> rakudobug!
<masak> finally :)

@p6rt
Copy link
Author

p6rt commented Nov 29, 2008

From @bacek

On Thu Nov 27 14​:16​:17 2008, masak wrote​:

<masak> rakudo​: say undef ~~ undef; say undef & undef ~~ undef
<p6eval> rakudo 33276​: OUTPUT[1␤0␤]
<masak> what's going on there?
<moritz_> rakudobug!
<masak> finally :)

Actually, it's just lack of Junction autothreading. Becasue (undef &
undef) creates Junction which is defined.

--
Bacek

@p6rt
Copy link
Author

p6rt commented Nov 29, 2008

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jan 11, 2009

From @pmichaud

As of r35397​:

$ ./parrot perl6.pbc

say undef ~~ undef;
1
say undef & undef ~~ undef;
Junction<0xb6ec3a50>
say (undef & undef ~~ undef).perl;
all(1)

Assigning ticket to moritz++ so we can verify that appropriate tests are
in the suite.

Thanks!

Pm

@p6rt
Copy link
Author

p6rt commented Jan 11, 2009

From @moritz

On Sun Jan 11 00​:26​:37 2009, pmichaud wrote​:

As of r35397​:

$ ./parrot perl6.pbc

say undef ~~ undef;
1
say undef & undef ~~ undef;
Junction<0xb6ec3a50>
say (undef & undef ~~ undef).perl;
all(1)

Assigning ticket to moritz++ so we can verify that appropriate tests are
in the suite.

Added to t/spec/S03-junctions/misc.t.

Cheers,
Moritz

@p6rt
Copy link
Author

p6rt commented Jan 11, 2009

@moritz - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Jan 11, 2009
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant