rakudo#1296 could replace this one.
2017-12-03 14:10 GMT+08:00 陈梓立 :
> Now the issue is quite different.
>
> I think it becomes an issue about `but`, not about `Cannot convert string
> to number`
>
Now the issue is quite different.
I think it becomes an issue about `but`, not about `Cannot convert string
to number`
Note that if you call `next`, then the order is correct.
This is not limited in operator overloading
```
my $a;
$a := { $^a + $^b }
# ok
```
```
my
:= { $^a + $^b }
# Cannot use bind operator with this left-hand side
```
```
my := { $^a + $^b }
say a(1, 2)
# 3
```
```
my : := { $^a + $^b };
say 1 plus 2 plus 3
# 6
```
Note that it is all well
1. now it's moved to S06-operator-overloading/infix.t
2. note that default Left-associative works, this ticket in fact about
reserved words. See the example below:
```
{
my sub infix: ($a, $b) {
$a ** $b;
}
is (2 Z 1 Z 2), 4, "default Left-associative works.";
}
# Calling infix:(Int,
So far we've fix the bugs on NEXT and LAST, while POST remained.
I added a test for this ticket perl6/roast#362