Permalink
Browse files

Avoid a Parrot-specific .get_lexinfo call.

Unbusts S11-modules/import-multi.t, which now fully passes on JVM.
  • Loading branch information...
jnthn committed Jul 1, 2013
1 parent d2bf028 commit dbc5f1a3036e3f1efb26b582038200a2e990125c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Code.pm
View
@@ -18,6 +18,6 @@ my class Code does Callable {
# returns an identifier for this code object
# that is the same even for cloned closures
method static_id(Code:D:) {
- nqp::p6box_i(nqp::where($!do.get_lexinfo));
+ nqp::p6box_i(nqp::where(nqp::getstaticcode($!do)));
}
}

0 comments on commit dbc5f1a

Please sign in to comment.