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
Proxy.new ---> "Cannot invoke this object" error #4427
Comments
From @raiphWhat I didm: Proxy.new What I gotrakudo-moar 52b6f2: OUTPUT«Unhandled exception: Cannot invoke this object (REPR: P6opaque, cs = 0) at src/gen/m-BOOTSTRAP.nqp:1288 (/home/camelia/rakudo-inst-1/share/nqp/lib/Perl6/BOOTSTRAP.moarvm::10) from src/gen/m-main.nqp:40 (/home/camelia/rakudo-inst-1/share/perl6/run…» What I expectedrakudo-moar 52b6f2: ( no output ) jnthn: Needs a FETCH/STORE providing; seems we want better error checking for that. |
From @moritzOn Tue Jul 21 12:28:03 2015, raiph wrote:
What rakudo does now: moritz@hack:~/p6/rakudo$ ./perl6-m -e 'Proxy.new' Fixed with this commit: commit 96fed8766ac6f7c8af1a9f25e7a5b54342ffcb2a RT #125663: Better error message for bare Proxy.new src/Perl6/Metamodel/BOOTSTRAP.nqp | 2 +- Now just needs a test. |
The RT System itself - Status changed from 'new' to 'open' |
From @moritzClosing without a test, since the .new method from BOOTSTRAP.pm doesn't throw a typed exception, and so testing would be fragile and/or quite some effort. |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#125663 (status was 'resolved')
Searchable as RT125663$
The text was updated successfully, but these errors were encountered: