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

'$x max Any' gives Any, not (as per spec) $x in Rakudo #2168

Closed
p6rt opened this issue Sep 14, 2010 · 3 comments
Closed

'$x max Any' gives Any, not (as per spec) $x in Rakudo #2168

p6rt opened this issue Sep 14, 2010 · 3 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Sep 14, 2010

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

Searchable as RT77868$

@p6rt
Copy link
Author

p6rt commented Sep 14, 2010

From @masak

<thundergnat> rakudo​: my ($x, $y); $x = 5; $x min= $y; say $x;
<thundergnat> this is ok
<p6eval> rakudo 51e3ff​: OUTPUT«5␤»
<masak> aye.
<thundergnat> but different from​:
<thundergnat> rakudo​: my ($x, $y); $x = 5; $x max= $y; say $x;
<p6eval> rakudo 51e3ff​: OUTPUT«Any()␤»
* masak submits rakudobug
<masak> thundergnat++
<thundergnat> spec say undef evaluates to -Inf
<masak> aye.
<pmichaud> rakudo​: my ($x, $y); $x = 5; say $x max $y;
<p6eval> rakudo 51e3ff​: OUTPUT«Any()␤»

@p6rt
Copy link
Author

p6rt commented Jan 8, 2011

From @Kodiologist

Fixed in e7e9d51ca; tests are in S03-operators/minmax.t (roast
0127f17a570fe).

@p6rt
Copy link
Author

p6rt commented Jan 8, 2011

@Kodiologist - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Jan 8, 2011
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant