# New Ticket Created by  Alex Jakimenko 
# Please include the string:  [perl #125247]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=125247 >


Code like this:

#!/usr/bin/env perl6
#`{{
some
comments
here


Gives this error message:

===SORRY!=== Error while compiling ./test.pl
Couldn't find terminator }}
at ./test.pl:6
------> <BOL>⏏<EOL>
    expecting any of:
        horizontal whitespace
        vertical whitespace
        whitespace


There are two problems that I can see:
1) It says something about horizontal/vertical whitespace, which is not
helpful and not relevant.
2) It does not provide a meaningful line number. I expect to see the line
number where this multiline comment was opened, but instead it gives me the
line number of the last line of the file (which makes sense to the
compiler, since that's where the error has occurred, but does not make any
sense to the human).

Reply via email to