...
This commit is contained in:
@@ -75,7 +75,7 @@ public record Manifest(Dictionary<string, Manifest.Module> Modules)
|
||||
|
||||
foreach (var (name, typeInfo) in module.GetTypes())
|
||||
{
|
||||
if (typeInfo.Exported && !typeInfo.External)
|
||||
if (typeInfo.Kind == Compiler.Module.DefinitionKind.Exported)
|
||||
{
|
||||
types.Add(name, ConvertType(typeInfo));
|
||||
}
|
||||
@@ -83,7 +83,7 @@ public record Manifest(Dictionary<string, Manifest.Module> Modules)
|
||||
|
||||
foreach (var (name, identifierInfo) in module.GetIdentifiers())
|
||||
{
|
||||
if (identifierInfo.Exported && !identifierInfo.External)
|
||||
if (identifierInfo.Kind == Compiler.Module.DefinitionKind.Exported)
|
||||
{
|
||||
identifiers.Add(name, new Module.IdentifierInfo(identifierInfo.Type, identifierInfo.MangledName));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user