Skip to content

Commit

Permalink
Fix generator bug with interface types (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasongin authored Mar 23, 2024
1 parent f09753e commit 106dccf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/NodeApi.Generator/SymbolExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,8 @@ private static void BuildBaseTypeAndInterfaces(INamedTypeSymbol typeSymbol)

foreach (INamedTypeSymbol interfaceTypeSymbol in typeSymbol.Interfaces)
{
BuildBaseTypeAndInterfaces(interfaceTypeSymbol);

string interfaceTypeFullName = GetTypeSymbolFullName(interfaceTypeSymbol);
if (SymbolicTypes.TryGetValue(interfaceTypeFullName, out Type? interfaceType) &&
interfaceType is TypeBuilder interfaceTypeBuilder)
Expand Down

0 comments on commit 106dccf

Please sign in to comment.