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

compiler barfs on diacritic in numeric colon pair #5426

Closed
p6rt opened this issue Jul 5, 2016 · 5 comments
Closed

compiler barfs on diacritic in numeric colon pair #5426

p6rt opened this issue Jul 5, 2016 · 5 comments
Labels
LTA Less Than Awesome; typically an error message that could be better uni

Comments

@p6rt
Copy link

p6rt commented Jul 5, 2016

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

Searchable as RT128551$

@p6rt
Copy link
Author

p6rt commented Jul 5, 2016

From zefram@fysh.org

"​:4\x[308]a".EVAL
Error encoding ASCII string​: could not encode codepoint 776

It seems correct for this to error, but this is not a clean error
signalled by the compiler. This is something inside the compiler barfing.

-zefram

@p6rt
Copy link
Author

p6rt commented Nov 23, 2016

From zefram@fysh.org

The behaviour has now changed to something different but also wrong​:

"​:4\x[308]a".EVAL
a => 0

It should yield either a syntax error or the same thing as "​:4a".
Given that "4\x[308]" is not being accepted as a digit in term context
or in Str.Int coercion, it should presumably yield a syntax error here.

-zefram

@p6rt
Copy link
Author

p6rt commented Nov 26, 2016

From @zoffixznet

On Tue, 05 Jul 2016 14​:22​:29 -0700, zefram@​fysh.org wrote​:

"​:4\x[308]a".EVAL
Error encoding ASCII string​: could not encode codepoint 776

It seems correct for this to error, but this is not a clean error
signalled by the compiler. This is something inside the compiler barfing.

-zefram

Thank you for the report. This is now fixed \o/

rakudo​: rakudo/rakudo@4663d43130
tests​: Raku/roast@b36289063e

@p6rt
Copy link
Author

p6rt commented Nov 26, 2016

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

@p6rt p6rt closed this as completed Nov 26, 2016
@p6rt
Copy link
Author

p6rt commented Nov 26, 2016

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

@p6rt p6rt added LTA Less Than Awesome; typically an error message that could be better uni labels 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 uni
Projects
None yet
Development

No branches or pull requests

1 participant