Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > $env:RAKUDO_OPTIMIZER_SM_DEBUG=1; raku
- Welcome to Rakudo(tm) v2026.01.
- Implementing the Raku(R) Programming Language v6.d.
- Built on MoarVM version 2026.01.
- To exit type 'exit' or '^Z'
- [0] > my $j = all(1); $j ~~ Int:D
- Try optimizing chained smartmatch:
- - QAST::Op(chain &infix:<~~>) :statement_id<2> ~~
- - QAST::Var(lexical $j) <wanted> $j
- - QAST::WVal(Int:D) <wanted> Int:D
- - LHS:
- - QAST::Var(lexical $j) <wanted> $j
- - RHS:
- - QAST::WVal(Int:D) <wanted> Int:D
- False
- [1] > $j ~~ Int:D
- Try optimizing chained smartmatch:
- - QAST::Op(chain &infix:<~~>) :statement_id<1> ~~
- - QAST::Var(lexical $j) <wanted> $j
- - QAST::WVal(Int:D) <wanted> Int:D
- - LHS:
- - QAST::Var(lexical $j) <wanted> $j
- - RHS:
- - QAST::WVal(Int:D) <wanted> Int:D
- True
Advertisement
Add Comment
Please, Sign In to add comment