# New Ticket Created by Zoffix Znet
# Please include the string: [perl #131622]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=131622 >
The .map gets special treatment if it's the last item of a for loop and it gets
sunk so that it gets evaluated:
m: for 1 { ^2 .map: *.say }
rakudo-moar 86e7b2: OUTPUT: «01»
We need to add the same special treatment for Failures, as they fail to explode
because they never get sunk:
m: for 1 { +'x' }
rakudo-moar 86e7b2: OUTPUT: «WARNINGS for <tmp>:Useless use of "+" in
expression "+'x'" in sink context (line 1)»
m: +'x' for 1
rakudo-moar 86e7b2: OUTPUT: «WARNINGS for <tmp>:Useless use of "+" in
expression "+'x'" in sink context (line 1)»