I'm trying to overload the >> operator like this:
class A {}
multi sub infix:«>>»(A:D $a, Str() $b) is assoc<non> { dd $a; dd $b }
my $x = A.new;
$x >> 'output.txt';
But I get a compile error at line 5 that says:
Unsupported use of >> to do right shift. In Raku please use: +> or ~>.
What am I missing?