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


class Point2D {
     has Int:D $.x is required;
     has Int:D $.y = self.x;
}

Point2D.new(); #!> Type check failed in assignment to $!y; expected Int:D
but got Int:D

should obviously be the 'x is required' error message

Reply via email to