Skip Menu |
Report information
Id: 128804
Status: resolved
Priority: 0/
Queue: perl6

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

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



Subject: [LTA] error message talks about 2/-1 fractional chars (:35<lizmat>)
Code:
say :35<lizmat>

Result:
Show quoted text
===SORRY!=== Error while compiling -e
Couldn't process entire number: 2/6 int chars, 2/-1 fractional chars
at -e:1
------> say :35<lizmat>⏏<EOL>


I am not even sure if I understand the “2/6 int chars” part, and “2/-1 fractional chars” is completely beyond me.
From: Nicholas Clark <nick [...] ccl4.org>
Subject: Re: [perl #128804] [LTA] error message talks about 2/-1 fractional chars (:35<lizmat>)
Date: Tue, 2 Aug 2016 08:03:34 +0100
To: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 658b
On Mon, Aug 01, 2016 at 12:46:52PM -0700, Aleks-Daniel Jakimenko-Aleksejev wrote: Show quoted text
> Code: > say :35<lizmat> > > Result: > ===SORRY!=== Error while compiling -e > Couldn't process entire number: 2/6 int chars, 2/-1 fractional chars > at -e:1 > ------> say :35<lizmat>⏏<EOL>
This one is quite awesome too: $ ./perl6-m -e 'say :3<4>' ===SORRY!=== Error while compiling -e Couldn't process entire number: -1/1 int chars, 2/-1 fractional chars at -e:1 ------> say :3<4>⏏<EOL> (there seem to be two off-by-one errors in the reporting, but it might be that that part is just Garbage In, Garbage Out, and a distraction from the true cause) Nicholas Clark
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 514b
On Mon, 01 Aug 2016 12:46:51 -0700, alex.jakimenko@gmail.com wrote: Show quoted text
> Code: > say :35<lizmat> > > Result: > ===SORRY!=== Error while compiling -e > Couldn't process entire number: 2/6 int chars, 2/-1 fractional chars > at -e:1 > ------> say :35<lizmat>⏏<EOL> > > > I am not even sure if I understand the “2/6 int chars” part, and “2/-1 > fractional chars” is completely beyond me.
Fixed in https://github.com/rakudo/rakudo/commit/0c3d9e803d Tests in https://github.com/perl6/roast/commit/83ad8fd2e5


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