Skip to content

Commit

Permalink
Fix two star imports conflicting not considered ambiguous
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrondeau committed Mar 8, 2022
1 parent bb3d9ab commit 528cba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jint/Runtime/Modules/ModuleRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static ObjectInstance GetModuleNamespace(ModuleRecord module)
{
var name = exportedNames[i];
var resolution = module.ResolveExport(name);
if (resolution is not null)
if (resolution is not null && resolution != ResolvedBinding.Ambiguous)
{
unambiguousNames.Add(name);
}
Expand Down

0 comments on commit 528cba7

Please sign in to comment.