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
The code is worth a 1000 words, so see evals below. The issue is or/and/andthen after a sub call without parenthesis give an error that or/and/andthen are not defined subs. With || the issue does not see to appear, while with && we get a TTIR:
<Zoffix> m: fail or fail;
<camelia> rakudo-moar ac4f9f: OUTPUT«===SORRY!=== Error while compiling /tmp/IfSQFv7yVRUndeclared routine: or used at line 1»
<Zoffix> m: fail() or fail;
<camelia> rakudo-moar ac4f9f: OUTPUT«Failed in block <unit> at /tmp/i553uhRVXy line 1»
<Zoffix> m: fail and fail;
<camelia> rakudo-moar ac4f9f: OUTPUT«===SORRY!=== Error while compiling /tmp/J8RuBepwj2Undeclared routine: and used at line 1. Did you mean 'rand', 'any', 'end'?»
<Zoffix> m: fail() and fail;
<camelia> rakudo-moar ac4f9f: OUTPUT«Failed in block <unit> at /tmp/Qcy6ni8Yl2 line 1»
<Zoffix> m: fail || fail;
<camelia> rakudo-moar ac4f9f: OUTPUT«Failed in block <unit> at /tmp/u5LL5QACth line 1»
<Zoffix> m: fail && fail;
<camelia> rakudo-moar ac4f9f: OUTPUT«===SORRY!=== Error while compiling /tmp/P21srEsUthTwo terms in a rowat /tmp/P21srEsUth:1------> fail &&⏏ fail; expecting any of: infix infix stopper postfix statement end state…»
<Zoffix> m: fail() && fail;
<camelia> rakudo-moar ac4f9f: OUTPUT«Failed in block <unit> at /tmp/Om2MctCB1k line 1»
<Zoffix> m: fail andthen fail;
<camelia> rakudo-moar ac4f9f: OUTPUT«===SORRY!=== Error while compiling /tmp/YfoH1FxSANUndeclared routine: andthen used at line 1»
<Zoffix> m: fail() andthen fail;
<camelia> rakudo-moar ac4f9f: OUTPUT«Failed in block <unit> at /tmp/IBwL8yFoGX line 1»
Migrated from rt.perl.org#127163 (status was 'new')
Searchable as RT127163$
The text was updated successfully, but these errors were encountered: