Rakudo (on Moar, Parrot and JVM) now gives the same error as STD:

$ perl6 -e 'set;'
===SORRY!=== Error while compiling -e
The 'set' listop may not be called without arguments (please use () or 
whitespace to clarify)
at -e:1
------> set⏏;
    expecting any of:
        argument list

$ perl6 -e 'set<a b c>;'
===SORRY!===
The 'set' listop may not be called without arguments (please use () or 
whitespace to clarify)
at -e:1
------> set⏏<a b c>;
    expecting any of:
        argument list
Other potential difficulties:
    Use of non-subscript <...> where postfix is expected; please use whitespace
    at -e:1
    ------> set⏏<a b c>;

I added two tests to S03-operators/set.t with the following commit: 
https://github.com/perl6/roast/commit/d45a07596b

Reply via email to