The error messages for the first two commands have changed slightly, but in the
same way. I'm pasting the second example only:
$ perl6 -e 'constant k = 1, map { k[$_] }, 0..*; .say for k[^10]'
===SORRY!=== Error while compiling -e
Variable '&k' is not declared
at -e:1
------> constant k = 1, map { ⏏k[$_] }, 0..*; .say for k[^10]
But on MoarVM and JVM the third example now gives a different (though LTA)
error:
$ perl6-m -e 'constant k = k; say k'
===SORRY!===
Cannot invoke this object (REPR: Null, cs = 0)
$ perl6-j -e 'constant k = k; say k'
===SORRY!===
Can not invoke object '&k'