On Tue, 23 May 2017 15:06:45 -0700, comdog wrote:
> #`(
> When I compile this code, I get the error:
> 
>     Useless use of constant value [ ] in sink context (lines 9, 9)
> 
> I don't think it was useless because it did what I needed.
> 
> I really wanted the ᔑ to be tighter then ., but that's not a real
> operator and I ccouldn't use it to set precedence.
> )
> 
>     sub prefix:<ᔑ> (Pair $p --> Pair) is tighter(&postcircumfix:<[ ]>) {
>         $p.value
>             =>
>         $ = $p.key
>         }


Thank you for the report. This is now fixed.

Fix:  https://github.com/rakudo/rakudo/commit/c6b7012a9c61133
Test: https://github.com/rakudo/rakudo/commit/c6b7012a9c61133

Reply via email to