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.
Nicholas good *,* 07:08
lizmat Good * to all 10:21
in strange findings today: looks like nqp::rename returns the source string, rather than 0 on success
nine That's an oddity of the QAST compiler. It treats every op as if it had a return value, and you're usually reading just the first argument register 10:34
lizmat but that means a lot of the documentation at github.com/Raku/nqp/blob/master/do...s.markdown is basically bogus :-( 10:38
"Rename file $from to file $to. Return 0 on success, throw an exception on failure."
I guess: "Rename file $from to file $to. Throws an exception on failure." would be a better description 10:39
nine Well that's just wrong, yes 10:43
And your version plain getter 10:44
better
bartolin just for the record: nqp::rename *does* return 0 on the JVM backend (on success) 12:09
(and maybe the documentation is from those days ...) 12:10
[Coke] sneezes a good * to you all 20:29
Geth MoarVM: MasterDuke17++ created pull request #1694:
Fix sign comparison warnings in coerce_su implementation
22:19