# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #61480]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61480 >


<masak> rakudo: class Base { has $.foo }; class Deriving is Base {};
say Deriving.new( :foo(5) ).foo()
<p6eval> rakudo 34068: OUTPUT[You passed an initialization parameter
that does not have a matching attribute. [...]
<TimToady> and in general, it's not an error to pass unrecognized initializers
<masak> TimToady: oh!
<TimToady> since each class will assume it was intended for a different class
<masak> _two_ rakudobugs. :)
* masak files
<TimToady> and we want to allow scope for people splitting classes
without having to redo initializers
<TimToady> refactoring++

Reply via email to