Skip to content
Browse files

RT #74300

  • Loading branch information...
1 parent 18f9e04 commit 363a3dba51055c04bb79f06d882a86e67ac19c72 @djanatyn committed Dec 29, 2011
Showing with 10 additions and 1 deletion.
  1. +10 −1 S12-construction/new.t
View
11 S12-construction/new.t
@@ -1,7 +1,7 @@
use v6;
use Test;
-plan 23;
+plan 24;
class Parent {
has $.x;
@@ -112,6 +112,15 @@ is $o.x, 5, '... worked for the class Parent (other order)';
dies_ok { X.new }, 'RT #100780'
}
+# RT #74300
+{
+ class RT74300 {
+ has $.foo;
+ multi method new($) {}
+ }
+ is RT74300.new(:foo<bar>).foo, 'bar', 'multi method($) does not break attribute initialization';
+}
+
done;
# vim: ft=perl6

0 comments on commit 363a3db

Please sign in to comment.
Something went wrong with that request. Please try again.