Skip to content

Commit

Permalink
use nqp::fromnum_I in Num.Int
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Nov 14, 2011
1 parent 1bef826 commit 9a01b11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/Num.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ my class Num {
method Bridge(Num:D:) { self }

method Int(Num:D:) {
nqp::p6box_i(nqp::unbox_n(self));
nqp::fromnum_I(nqp::unbox_n(self), Int);
}

multi method new() { nqp::p6box_n(0) }
Expand Down
2 changes: 1 addition & 1 deletion tools/build/NQP_REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2011.10-114-g59a8cfe
2011.10-118-gf7b182b

0 comments on commit 9a01b11

Please sign in to comment.