Skip Menu |
Report information
Id: 132140
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: book <book [at] cpan.org>
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



To: rakudobug [...] perl.org
Subject: Behaviour of bang-bang
From: "Philippe Bruhat (BooK)" <book [...] cpan.org>
Date: Thu, 21 Sep 2017 10:14:28 +0200
Download (untitled) / with headers
text/plain 1.1k
Experimenting with !! showed this: $ perl6 -v This is Rakudo version 2017.08-160-g7791dd47d built on MoarVM version 2017.08.1-171-gcf95892e implementing Perl 6.c. $ perl6 -e 'say !""' True $ perl6 -e 'say ! ""' True $ perl6 -e 'say !!""' False $ perl6 -e 'say ! !""' False $ perl6 -e 'say ! ! ""' False $ perl6 -e 'say !!""' False $ perl6 -e 'say !! ""' Non ast passed to WANTED: NQPMu ===SORRY!=== Error while compiling -e Two terms in a row at -e:1 ------> say !!⏏ "" expecting any of: infix infix stopper postfix statement end statement modifier statement modifier loop $ perl6 -e 'say !!' ===SORRY!=== Error while compiling -e Prefix ! requires an argument, but no valid term found at -e:1 ------> say !!⏏<EOL> expecting any of: prefix $ perl6 -e '!! while 1' ===SORRY!=== Cannot find method 'okifnil' on object of type NQPMu $ perl6 -e '! while 1' ===SORRY!=== Error while compiling -e Undeclared routine: while used at line 1


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org