On Sun Jun 26 11:42:10 2016, raiph wrote: > What I did > ========== > > use experimental :macros; > macro m { quasi {} } > m > > What I got > ========== > > rakudo-moar e071e4: OUTPUT«Weird node visited: QAST::BVal» > > What I expected > =============== > > No output or Nil used in sink context or somesuch. > > Why the message appears > ======================= > > TimToady added this error message to Rakudo's Optimizer.nqp as part of > his Great Sink Refactor commit > https://github.com/rakudo/rakudo/commit/f95c14402a706579ed49abb72e749dd9fb452cf1 > > The error message is the last else in an if/elsif chain that deals > with all but two -- BVal and CompUnit -- of the 15 QAST node types > mentioned in > https://github.com/perl6/nqp/blob/66da2a28b644f0a535f448fb62b4720b0b1201c4/docs/qast.markdown > > Perhaps we just need to add BVal and CompUnit to the final elsif at > https://github.com/rakudo/rakudo/commit/f95c14402a706579ed49abb72e749dd9fb452cf1#diff- > c6d4338f0fe083856631860c53453281R1943 > > Or perhaps proper sink handling requires one or both of these to be > individually processed.
macros are experimental and development on them is currently stalled. Marking ticket as 'stalled' -- Will "Coke" Coleda