You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<masak> rakudo: enum E <a b c>; say c.succ
<p6eval> rakudo ae5bea: OUTPUT«3»
<masak> er.
<masak> shouldn't the above say 'c'?
<moritz> masak: I think so
* masak submits rakudobug
<masak> good enough for me :)
<masak> rakudo: enum E <a b c>; say c.succ
<p6eval> rakudo ae5bea: OUTPUT«3»
<masak> er.
<masak> shouldn't the above say 'c'?
<moritz> masak: I think so
* masak submits rakudobug
<masak> good enough for me :)
<masak> rakudo: enum E <a b c>; say c.succ
<p6eval> rakudo ae5bea: OUTPUT«3»
<masak> er.
<masak> shouldn't the above say 'c'?
<moritz> masak: I think so
* masak submits rakudobug
<masak> good enough for me :)
S12 says "... number valued enums act just like numbers, while
string valued enums act just like strings. C<Fri.so> is true
because its value is 5 rather than 0. C<Sun.so> is false."
So, I'd expect c.succ to act just like 2.succ and this would not be a bug
Migrated from rt.perl.org#92742 (status was 'rejected')
Searchable as RT92742$
The text was updated successfully, but these errors were encountered: