Fixed by jnthn in code and test commits.
Issue filed.
Golfed:
do put .^name for any 1 ; # Int
put .^name for any 1 ; # Mu
Any of ten of the thirteen statement prefixes listed in the doc can be used instead of do
or gather
with the same result. (supply
unsurprisingly produces no output and hyper
and race
are red herrings because they try and fail to apply methods to the junction values.)
Any type of junction produces the same results.
Any number of elements of the junction produces the same result for the for
loop without a statement prefix, namely a single Mu
. With a statement prefix the for
loop repeats the primary statement (the put ...
) the appropriate number of times.
I've searched both rt and gh issues and failed to find a related bug report.