# New Ticket Created by  Paweł Pabian 
# Please include the string:  [perl #127421]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=127421 >


multi sub infix:<==> (Int $a, Str $b) { $a == $b }

Will never finish compilation on Rakudo 6.c and causes severe memory leak. I 
found that:

1. Types must be different in signature
(Int $a, Str $b) # hangs
(Str $a, Int $b) # hangs
(Int $a, Int $b) # compiles

2. Operator must be the same in sub and block
multi sub infix:<eq> (Int $a, Str $b) { $a eq $b } # hangs
multi sub infix:<eq> (Int $a, Str $b) { $a == $b } # compiles



Reply via email to