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

xx no longer produces a nice message if unable to numify a string (42 xx ‘123abc’) #5855

Closed
p6rt opened this issue Dec 7, 2016 · 4 comments
Labels
LTA Less Than Awesome; typically an error message that could be better regression Issue did not exist previously

Comments

@p6rt
Copy link

p6rt commented Dec 7, 2016

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

Searchable as RT130288$

@p6rt
Copy link
Author

p6rt commented Dec 7, 2016

From @AlexDaniel

Code​:
say 42 xx �123abc�

Result (2016.06)​:
Cannot convert string to number​: trailing characters after number in '123<HERE>abc' (indicated by <HERE>)
  in block <unit> at /tmp/vENGo0kTCa line 1

Actually thrown at​:
  in block <unit> at /tmp/vENGo0kTCa line 1
«exit code = 1»

Result (HEAD)​:
This type cannot unbox to a native integer​: P6opaque, Failure
  in block <unit> at /tmp/vENGo0kTCa line 1
«exit code = 1»

The previous error message was much better. Current error message talks about some internal stuff and that is LTA.

Bisectable points to rakudo/rakudo@c549267

@p6rt
Copy link
Author

p6rt commented Dec 7, 2016

From @zoffixznet

On Tue, 06 Dec 2016 19​:00​:22 -0800, alex.jakimenko@​gmail.com wrote​:

Code​:
say 42 xx �123abc�

Result (2016.06)​:
Cannot convert string to number​: trailing characters after number in
'123<HERE>abc' (indicated by <HERE>)
in block <unit> at /tmp/vENGo0kTCa line 1

Actually thrown at​:
in block <unit> at /tmp/vENGo0kTCa line 1
«exit code = 1»

Result (HEAD)​:
This type cannot unbox to a native integer​: P6opaque, Failure
in block <unit> at /tmp/vENGo0kTCa line 1
«exit code = 1»

The previous error message was much better. Current error message
talks about some internal stuff and that is LTA.

Bisectable points to
rakudo/rakudo@c549267

Fix​: rakudo/rakudo@5bacb05
Test​: Raku/roast@5f708dc3b6

@p6rt
Copy link
Author

p6rt commented Dec 7, 2016

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

@p6rt
Copy link
Author

p6rt commented Dec 7, 2016

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

@p6rt p6rt closed this as completed Dec 7, 2016
@p6rt p6rt added LTA Less Than Awesome; typically an error message that could be better regression Issue did not exist previously 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 regression Issue did not exist previously
Projects
None yet
Development

No branches or pull requests

1 participant