diff options
| -rw-r--r-- | challenge-056/simon-proctor/raku/ch-2.p6 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/challenge-056/simon-proctor/raku/ch-2.p6 b/challenge-056/simon-proctor/raku/ch-2.p6 index 0380d314a6..9f997c89cf 100644 --- a/challenge-056/simon-proctor/raku/ch-2.p6 +++ b/challenge-056/simon-proctor/raku/ch-2.p6 @@ -66,8 +66,8 @@ role BTree[::T] { } class UBTree does BTree[UInt] { - submethod BUILD ( :$value, :@nodes ) { - $!value = $value.UInt(); + submethod BUILD ( UInt() :$value, :@nodes ) { + $!value = $value; @!nodes = @nodes; } } |
