Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Missed a couple of lex_info uses.
  • Loading branch information
jnthn committed Mar 9, 2013
1 parent 2acf690 commit 5ba5881
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/serialization/03-closures.t
Expand Up @@ -15,7 +15,7 @@ sub add_to_sc($sc, $idx, $obj) {
my $sc := nqp::createsc('TEST_SC_1_IN');
my $sh := nqp::list_s();

my $m1 := (method () { "success!" }).get_lexinfo().get_static_code();
my $m1 := nqp::getstaticcode(method () { "success!" });
nqp::scsetcode($sc, 0, $m1);
nqp::markcodestatic($m1);

Expand Down Expand Up @@ -60,7 +60,7 @@ sub add_to_sc($sc, $idx, $obj) {
nqp::scsetcode($sc, 0, $raw_sub);
nqp::markcodestatic($raw_sub);

my $raw_meth := $m1.get_lexinfo().get_static_code();
my $raw_meth := nqp::getstaticcode($m1);
nqp::scsetcode($sc, 1, $raw_meth);
nqp::markcodestatic($raw_meth);

Expand Down

0 comments on commit 5ba5881

Please sign in to comment.