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

&&, ||, and ^^ not considered iffy #3252

Closed
p6rt opened this issue Oct 25, 2013 · 4 comments
Closed

&&, ||, and ^^ not considered iffy #3252

p6rt opened this issue Oct 25, 2013 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Oct 25, 2013

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

Searchable as RT120371$

@p6rt
Copy link
Author

p6rt commented Oct 25, 2013

From @ShimmerFairy

<lue> r​: say 1 !&& 1;
<camelia> rakudo 2ce544​: OUTPUT«===SORRY!=== Error while compiling
/tmp/hHslECfLiQ␤Cannot negate && because it is not iffy enough␤at
/tmp/hHslECfLiQ​:1␤------> say 1 !&&⏏ 1;␤»
<lue> r​: say 1 !|| 1;
<camelia> rakudo 2ce544​: OUTPUT«===SORRY!=== Error while compiling
/tmp/YTTZgSeGSv␤Cannot negate || because it is not iffy enough␤at
/tmp/YTTZgSeGSv​:1␤------> say 1 !||⏏ 1;␤»
<lue> r​: say 1 !^^ 1;
<camelia> rakudo 2ce544​: OUTPUT«===SORRY!=== Error while compiling
/tmp/X1yJPAEk2V␤Cannot negate ^^ because it is not iffy enough␤at
/tmp/X1yJPAEk2V​:1␤------> say 1 !^^⏏ 1;␤»
<lue> std​: say 1 !&& 1; say 1 !|| 1; say 1 !^^ 1;
<camelia> std 082981d​: OUTPUT«ok 00​:01 122m␤»

Not much more needs to be said here, I don't think :) .

@p6rt
Copy link
Author

p6rt commented Jan 27, 2015

From @Mouq

Fixed in rakudo commit​:

commit a7dc209c71b9ea751bd97d98c6bfa84e77cbc357
Author​: Mouq <alexmoquin@​gmail.com>
Date​: Tue Jan 27 15​:33​:11 2015 -0500

  Make iffy things :iffy<1>, as in STD.pm6. Fixes RT #​120371

Tests added to S03-metaops/not.t in roast commit​:

commit e589dfb22db5be6e84dc0f855df17162c1dd0880
Author​: Mouq <alexmoquin@​gmail.com>
Date​: Tue Jan 27 15​:37​:07 2015 -0500

  Test for RT #​120371

On Fri Oct 25 16​:40​:28 2013, lue wrote​:

<lue> r​: say 1 !&& 1;
<camelia> rakudo 2ce544​: OUTPUT«===SORRY!=== Error while compiling
/tmp/hHslECfLiQ␤Cannot negate && because it is not iffy enough␤at
/tmp/hHslECfLiQ​:1␤------> say 1 !&&⏏ 1;␤»
<lue> r​: say 1 !|| 1;
<camelia> rakudo 2ce544​: OUTPUT«===SORRY!=== Error while compiling
/tmp/YTTZgSeGSv␤Cannot negate || because it is not iffy enough␤at
/tmp/YTTZgSeGSv​:1␤------> say 1 !||⏏ 1;␤»
<lue> r​: say 1 !^^ 1;
<camelia> rakudo 2ce544​: OUTPUT«===SORRY!=== Error while compiling
/tmp/X1yJPAEk2V␤Cannot negate ^^ because it is not iffy enough␤at
/tmp/X1yJPAEk2V​:1␤------> say 1 !^^⏏ 1;␤»
<lue> std​: say 1 !&& 1; say 1 !|| 1; say 1 !^^ 1;
<camelia> std 082981d​: OUTPUT«ok 00​:01 122m␤»

Not much more needs to be said here, I don't think :) .

@p6rt
Copy link
Author

p6rt commented Jan 27, 2015

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

@p6rt
Copy link
Author

p6rt commented Jan 27, 2015

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

@p6rt p6rt closed this as completed Jan 27, 2015
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