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 says that ‘_’ is invalid base-… character ( :10<4_x> ) #5874

Closed
p6rt opened this issue Dec 8, 2016 · 4 comments
Closed
Labels
LTA Less Than Awesome; typically an error message that could be better

Comments

@p6rt
Copy link

p6rt commented Dec 8, 2016

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

Searchable as RT130296$

@p6rt
Copy link
Author

p6rt commented Dec 8, 2016

From @AlexDaniel

Code​:
say :10<4_x>

Result​:
===SORRY!=== Error while compiling -e
Invalid base-10 character '_'​: 4â��_x. Please use one of 0..9
at -e​:1
------> say :10<4_x>�<EOL>

Actually, �_� is OK, it is the �x� that it does not like. It should complain about �x�.

@p6rt
Copy link
Author

p6rt commented Dec 11, 2016

From @zoffixznet

On Thu, 08 Dec 2016 03​:21​:48 -0800, alex.jakimenko@​gmail.com wrote​:

Code​:
say :10<4_x>

Result​:
===SORRY!=== Error while compiling -e
Invalid base-10 character '_'​: 4â��_x. Please use one of 0..9
at -e​:1
------> say :10<4_x>�<EOL>

Actually, �_� is OK, it is the �x� that it does not like. It should
complain about �x�.

That exception has now been removed, so the issue no longer applies​: rakudo/rakudo@a8ff3b99af307d3f14e3edb3d82

(the new exception does point to start of `_` as problematic area, but that's not worth adjusting for such a rare case)

@p6rt
Copy link
Author

p6rt commented Dec 11, 2016

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

@p6rt
Copy link
Author

p6rt commented Dec 11, 2016

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

@p6rt p6rt closed this as completed Dec 11, 2016
@p6rt p6rt added the LTA Less Than Awesome; typically an error message that could be better label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTA Less Than Awesome; typically an error message that could be better
Projects
None yet
Development

No branches or pull requests

1 participant