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


sub f( | ( :$a) where { dd $a } ) {}; f 42

# OUTPUT«Mu␤Constraint type check failed for parameter '<anon>'␤in sub f 
at <tmp> line 1␤  in block <unit> at <tmp> line 1␤␤»

# it should either work or complain that $a is not declared in this scope

Reply via email to