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

Owner: Nobody
Requestors: alex.jakimenko [at] gmail.com
Cc:
AdminCc:

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



From: Alex Jakimenko <alex.jakimenko [...] gmail.com>
To: rakudobug [...] perl.org
Subject: LTA error message when "while" or "until" have no condition
Date: Sat, 11 Jul 2015 04:08:48 +0300
Download (untitled) / with headers
text/plain 480b
Code:
repeat { } while;
OR
repeat { } until;

Result:
Whitespace required after keyword 'repeat { } until'
at ./test.pl:2
------> repeat { } until⏏;
Missing "while" or "until"
at ./test.pl:2
------> repeat { } until⏏;
    expecting any of:
        prefix
        term

It is similar to #125596, but less brutal.
If you put a whitespace (it is asking for it!) then it will print the last part of the error – Missing "while" or "until". Then what? repeat { } until until;? :)


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