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

Runtime errors marked as compile time #5510

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

Runtime errors marked as compile time #5510

p6rt opened this issue Aug 1, 2016 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Aug 1, 2016

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

Searchable as RT128803$

@p6rt
Copy link
Author

p6rt commented Aug 1, 2016

From @zoffixznet

Some errors have a '===SORRY!===' in the output, even though they are runtime errors​:

$ ./perl6 -e 'say "meow"; <a b c d b>.rotor​: 1 => -2;'
meow
===SORRY!===
.rotor position is out of range. Is​: -1, should be in 0..Inf; (ensure the negative gap is not larger than the length of the sublist)

<Zoffix> m​: say "meow"; my $m = (1,2 X~ ('' X~ '')).first​: *.IO.f;
<camelia> rakudo-moar 4ee104​: OUTPUT«meow␤===SORRY!===␤Cannot invoke this object (REPR​: Uninstantiable; Callable)␤»

<Zoffix> m​: say ‘meow’; *...‘WAT’
<camelia> rakudo-moar 4ee104​: OUTPUT«meow␤===SORRY!===␤Method 'succ' not found for invocant of class 'Whatever'␤»

<Zoffix> m​: say ‘meow’; say 0, * ... "what"
<camelia> rakudo-moar 4ee104​: OUTPUT«meow␤===SORRY!===␤Method 'pred' not found for invocant of class 'Whatever'␤»

--
Cheers,
ZZ | https://twitter.com/zoffix

@p6rt
Copy link
Author

p6rt commented Aug 19, 2016

From @zoffixznet

Fixed on moar​: MoarVM/MoarVM#390

@p6rt
Copy link
Author

p6rt commented Aug 23, 2016

@coke - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Sep 2, 2016

From @zoffixznet

Tests added in Raku/roast@35fac4d1b9

@p6rt
Copy link
Author

p6rt commented Sep 2, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant