Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change constructor for Int to 'multi method'
  • Loading branch information
usev6 committed Jun 28, 2015
1 parent 367b581 commit 63be88f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Int.pm
Expand Up @@ -17,7 +17,7 @@ my class Int does Real { # declared in BOOTSTRAP
ObjAt
);
}
method new($value) {
multi method new($value) {
nqp::box_i($value, self.WHAT);
}
multi method perl(Int:D:) {
Expand Down

0 comments on commit 63be88f

Please sign in to comment.