Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

pir::find_dynamic_lex__Ps -> nqp::getlexdyn

  • Loading branch information...
commit 74b7f2a1e56bdaa2b56b61430e562a42e4af8cbf 1 parent baf0f5e
@kboga kboga authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  src/core/Cursor.pm
  2. +1 −1  src/core/stubs.pm
View
2  src/core/Cursor.pm
@@ -111,7 +111,7 @@ my class Cursor does NQPCursorRole {
}
method RECURSE() {
- pir::find_dynamic_lex__Ps('$?REGEX')(self)
+ nqp::getlexdyn('$?REGEX')(self)
}
method prior() {
View
2  src/core/stubs.pm
@@ -16,7 +16,7 @@ my class Enum { ... }
my class X::OutOfRange { ... }
sub DYNAMIC(\name) is rw {
- my Mu $x := pir::find_dynamic_lex__Ps(nqp::unbox_s(name));
+ my Mu $x := nqp::getlexdyn(nqp::unbox_s(name));
if nqp::isnull($x) {
my str $pkgname = pir::replace__Ssiis(nqp::unbox_s(name), 1, 1, '');
if nqp::existskey(GLOBAL.WHO, $pkgname) { $x := nqp::atkey(GLOBAL.WHO, $pkgname) }
Please sign in to comment.
Something went wrong with that request. Please try again.