Skip to content

Commit

Permalink
align code
Browse files Browse the repository at this point in the history
  • Loading branch information
tbrowder committed Jan 23, 2018
1 parent d8f194b commit bbaa5a5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/NQP/World.nqp
Expand Up @@ -197,9 +197,9 @@ class NQP::World is HLL::World {
# See if NQPRoutine is available to wrap this up in.
my $code_type;
my $have_code_type := 0;
my $cursor := $*LANG;
my $package := $cursor.package;
$cursor.check_PACKAGE_oopsies('create_code');
my $cursor := $*LANG;
my $package := $cursor.package;
$cursor.check_PACKAGE_oopsies('create_code');
try {
$code_type := self.find_sym([$code_type_name]);
$have_code_type := $package.HOW.name($package) ne $code_type_name;
Expand Down Expand Up @@ -610,10 +610,10 @@ class NQP::World is HLL::World {
if nqp::existskey($result.WHO, ~$_) {
$result := ($result.WHO){$_};
}
# XXX temp shim to avoid bootstrapping funniness
elsif nqp::elems(@name) == 1 && @name[0] eq 'NQPCursor' {
return self.find_sym(['NQPMatch']);
}
# XXX temp shim to avoid bootstrapping funniness
elsif nqp::elems(@name) == 1 && @name[0] eq 'NQPCursor' {
return self.find_sym(['NQPMatch']);
}
else {
nqp::die("Could not locate compile-time value for symbol " ~
join('::', @name));
Expand Down

0 comments on commit bbaa5a5

Please sign in to comment.