File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ grammar NQP::Grammar is HLL::Grammar {
17
17
# Serialization context builder - keeps track of objects that
18
18
# cross the compile-time/run-time boundary that are associated
19
19
# with this compilation unit.
20
- my $ file := pir::find_caller_lex__Ps (' $?FILES' );
20
+ my $ file := nqp ::getlexdyn (' $?FILES' );
21
21
my $ source_id := nqp ::sha1(self . target()) ~
22
22
(% * COMPILING <%?OPTIONS ><stable-sc > ?? ' ' !! ' -' ~ ~ nqp ::time_n());
23
23
my $ * W := nqp ::isnull($ file ) ??
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ class PIRT::Sub is PIRT::Node {
205
205
nqp :: push (@ parts , $ sub_decl );
206
206
207
207
# File annotation, if there is one.
208
- my $ file := pir::find_caller_lex__Ps (' $?FILES' );
208
+ my $ file := nqp ::getlexdyn (' $?FILES' );
209
209
if nqp ::ifnull($ file , ' ' ) {
210
210
nqp :: push (@ parts , " .annotate 'file', " ~ self . escape($ file ));
211
211
}
You can’t perform that action at this time.
0 commit comments