Skip to content

Commit

Permalink
Revert "bug fix for #4488"
Browse files Browse the repository at this point in the history
This reverts commit d0a739f.
  • Loading branch information
tony-o committed Oct 19, 2021
1 parent d0a739f commit eb1c1f4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/core.c/operators.pm6
Expand Up @@ -312,8 +312,6 @@ sub REQUIRE_IMPORT(
$targetWHO := $block.AT-KEY($stubname).WHO;
$sourceWHO := $GLOBALish.AT-KEY($stubname).WHO;
$targetWHO.merge-symbols($sourceWHO);

try $targetWHO.merge-symbols($GLOBALish);
}
# Set the runtime values for compile time stub symbols
for @syms {
Expand All @@ -326,6 +324,10 @@ sub REQUIRE_IMPORT(
if @missing {
X::Import::MissingSymbols.new(:from($compunit.short-name), :@missing).throw;
}
nqp::gethllsym('Raku','ModuleLoader').merge_globals(
$merge-globals-target.AT-KEY($stubname).WHO,
$GLOBALish,
) if $stubname;
# Merge GLOBAL from compunit.
nqp::gethllsym('Raku','ModuleLoader').merge_globals(
$block<%REQUIRE_SYMBOLS>,
Expand Down

0 comments on commit eb1c1f4

Please sign in to comment.