Welcome to the main channel on the development of MoarVM, a virtual machine for NQP and Rakudo (moarvm.org). This channel is being logged for historical purposes.
Set by lizmat on 24 May 2021.
lizmat Looks I found an issue with spesh 09:26
unfortunately, I have not been able to golf it yet
basically, a native int becomes a Scalar somehow in $i++ 09:28
This type cannot unbox to a native integer: P6opaque, Scalar
happens after anytime between 165 and 181 times
timo does spesh_nodelay make it happen faster? can you reproduce it on earlier releases? 09:29
lizmat with NODELAY it happens after about 40 iterations 09:31
or 67 or 69 or 45 definitely lower
github.com/lizmat/App-Rak/blob/mai...kumod#L875 to be precise 09:32
timo sayer! \m/ 09:33
lizmat by default, that's just &say
timo say, sayer, sayest 09:34
bbl
lizmat I got it reproducible to: 10:16
zef install App::Rak
move to a rakudo source directory
rak '# vim' src
This type cannot unbox to a native integer: P6opaque, Scalar
in sub want-lines at /Users/liz/Github/rakudo/install/share/perl6/site/sources/3EA16C798869CE562E21EE469418C66AC506167E (App::Rak) line 875
FWIW, this happens on both Intel as M1 10:20