# New Ticket Created by Zoffix Znet
# Please include the string: [perl #131710]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=131710 >
The three ops normally do .b thunks where you can give a block to RHS and it'll
be used instead of the thunk:
<Zoffix_> m: (my $x = 42) andthen -> $a is rw { $a = $a.say }; dd $x
<camelia> rakudo-moar d39f7b: OUTPUT: «42Bool $x = Bool::True»
However, the `=` meta assign op makes a .t thunk and so the block ends up being
a value:
<Zoffix_> m: (my $x = 42) andthen= -> $a { .say }; dd $x
<camelia> rakudo-moar d39f7b: OUTPUT: «Block $x = -> $a {
#`(Block|46219400) ... }»
Also, the ops in meta assign form don't get the $_ set to the LHS's value:
<Zoffix_> m: (my $x = 42) andthen= .say
<camelia> rakudo-moar d39f7b: OUTPUT: «(Any)»
<Zoffix_> m: $ orelse= .say
<camelia> rakudo-moar d39f7b: OUTPUT: «(Any)»
<Zoffix_> m: $ notandthen= .say
<camelia> rakudo-moar d39f7b: OUTPUT: «(Any)»
Bug find: https://irclog.perlgeek.de/perl6/2017-07-05#i_14831105