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


role R[::TT] {}; sub f(::T){ Any but R[T] }; dd f(R)

# OUTPUT«Any+{R[T]}␤»

# expected behaviour:

role R[::TT] {}; sub f(::T){ Any but R.^parameterize(T) }; dd f(Int)

# OUTPUT«Any+{R[Int]}␤»

Reply via email to