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

error message talks about 2/-1 fractional chars (:35<lizmat>) #5511

Closed
p6rt opened this issue Aug 1, 2016 · 5 comments
Closed

error message talks about 2/-1 fractional chars (:35<lizmat>) #5511

p6rt opened this issue Aug 1, 2016 · 5 comments
Labels
LTA

Comments

@p6rt
Copy link

@p6rt p6rt commented Aug 1, 2016

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

Searchable as RT128804$

@p6rt
Copy link
Author

@p6rt p6rt commented Aug 1, 2016

From @AlexDaniel

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.

@p6rt
Copy link
Author

@p6rt p6rt commented Aug 2, 2016

From @nwc10

On Mon, Aug 01, 2016 at 12​:46​:52PM -0700, Aleks-Daniel Jakimenko-Aleksejev wrote​:

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

@p6rt
Copy link
Author

@p6rt p6rt commented Aug 2, 2016

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

@p6rt
Copy link
Author

@p6rt p6rt commented Dec 4, 2016

From @zoffixznet

On Mon, 01 Aug 2016 12​:46​:51 -0700, alex.jakimenko@​gmail.com wrote​:

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 rakudo/rakudo@0c3d9e8
Tests in Raku/roast@83ad8fd

@p6rt
Copy link
Author

@p6rt p6rt commented Dec 4, 2016

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

@p6rt p6rt closed this Dec 4, 2016
@p6rt p6rt added the LTA label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant