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

(or maybe a bug) #5019

Closed
p6rt opened this issue Jan 7, 2016 · 5 comments
Closed

(or maybe a bug) #5019

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

Comments

@p6rt
Copy link

p6rt commented Jan 7, 2016

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

Searchable as RT127207$

@p6rt
Copy link
Author

p6rt commented Jan 7, 2016

From @zoffixznet

Trying to assign an Inf/NaN to an Int type gives an LTA error. Also, I don't know if it should maybe work instead of throwing an error?

<Zoffix> m​: my Int $a = Inf
<camelia> rakudo-moar f1dd49​: OUTPUT«===SORRY!===␤Cannot find method 'value'␤»
<Zoffix> m​: my Int $a = NaN
<camelia> rakudo-moar f1dd49​: OUTPUT«===SORRY!===␤Cannot find method 'value'␤»

@p6rt
Copy link
Author

p6rt commented Jan 8, 2016

From @lizmat

On 08 Jan 2016, at 00​:16, Zoffix Znet (via RT) <perl6-bugs-followup@​perl.org> wrote​:

# New Ticket Created by Zoffix Znet
# Please include the string​: [perl #​127207]
# in the subject line of all future correspondence about this issue.
# <URL​: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=127207 >

Trying to assign an Inf/NaN to an Int type gives an LTA error. Also, I don't know if it should maybe work instead of throwing an error?

<Zoffix> m​: my Int $a = Inf
<camelia> rakudo-moar f1dd49​: OUTPUT«===SORRY!===␤Cannot find method 'value'␤»
<Zoffix> m​: my Int $a = NaN
<camelia> rakudo-moar f1dd49​: OUTPUT«===SORRY!===␤Cannot find method 'value'␤»

Fixed with af879820d9a8e226184f6e7 , tests for this are still needed!

This is really a dupe of RT #​126990 , and possibly others.

Liz

@p6rt
Copy link
Author

p6rt commented Jan 8, 2016

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

@p6rt
Copy link
Author

p6rt commented Jul 11, 2016

From @zoffixznet

Tests added in Raku/roast@679a57f

@p6rt
Copy link
Author

p6rt commented Jul 11, 2016

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

@p6rt p6rt closed this as completed Jul 11, 2016
@p6rt p6rt added LTA Less Than Awesome; typically an error message that could be better testneeded 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 testneeded
Projects
None yet
Development

No branches or pull requests

1 participant