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
"Bytecode validation error at offset ..., instrucction ..., operand type 160 does not match register type 152" #5207
Comments
From @salortizIn code like: class Foo is repr('CPointer') { Calling Bar, at runtime is produced the error in the subject. The offset and the instruction varies, but removing |
From @salortizMinimal case: <sortiz> m: sub Foo(uint32 :$bar) { say $bar }; Foo(:bar(4)); # btw NativeCall not needed. |
From @zoffixznetStill present in rakudo 405519: <Zoffix> m: sub Foo(uint32 :$bar) { say $bar }; Foo(:bar(4)); |
From @zoffixznetStill present in rakudo 59d808. jnthn++ offered some ideas on this bug: http://irclog.perlgeek.de/perl6-dev/2016-07-20#i_12876973 estimating it may be somewhere here: https://github.com/perl6/nqp/blob/0dde6991893c7c40d486b681a7ac3bb2a22c7075/src/vm/moar/QAST/QASTCompilerMAST.nqp#L1121 ♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥ TODO-fudged tests added in Raku/roast@ea4d11d008 🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁 -- |
The RT System itself - Status changed from 'new' to 'open' |
From @usev6This works now as expected: <bartolin> m: sub Foo(uint32 :$bar) { say $bar }; Foo(:bar(4)) I think, it was fixed with Raku/nqp@fc727ea911 (bisectable pointed to the corresponding NQP bump). Since the tests in S02-types/native.t are passing, I'm closing this ticket as 'resolved'. |
1 similar comment
From @usev6This works now as expected: <bartolin> m: sub Foo(uint32 :$bar) { say $bar }; Foo(:bar(4)) I think, it was fixed with Raku/nqp@fc727ea911 (bisectable pointed to the corresponding NQP bump). Since the tests in S02-types/native.t are passing, I'm closing this ticket as 'resolved'. |
@usev6 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#127813 (status was 'resolved')
Searchable as RT127813$
The text was updated successfully, but these errors were encountered: