Skip to content

Commit

Permalink
fix Label.gist, 34f7f36 broke it
Browse files Browse the repository at this point in the history
  • Loading branch information
FROGGS committed Nov 17, 2016
1 parent 7f32243 commit 29db214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Label.pm
Expand Up @@ -9,7 +9,7 @@ my class Label {
my $obj := nqp::create(self);
nqp::bindattr($obj, Label, '$!name', $name);
nqp::bindattr($obj, Label, '$!file',
nqp::ifnull(nqp::getlexdyn('$?FILES'),'<unknown>'));
nqp::ifnull(nqp::p6box_s(nqp::getlexdyn('$?FILES')), '<unknown>'));
nqp::bindattr($obj, Label, '$!line', $line);
nqp::bindattr($obj, Label, '$!prematch', nqp::p6box_s($prematch));
nqp::bindattr($obj, Label, '$!postmatch', nqp::p6box_s($postmatch));
Expand Down

0 comments on commit 29db214

Please sign in to comment.