Skip to content

Commit 7acd580

Browse files
committed
Minor refactoring to allow better IDE inspection and debugging.
1 parent 285f3f6 commit 7acd580

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Generator/Types/TypeMapDatabase.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ public bool FindTypeMap(Type type, out TypeMap typeMap)
106106
{
107107
typePrinter.ResolveTypedefs = resolveTypeDefs;
108108
typePrinter.ScopeKind = typePrintScopeKind;
109-
if (FindTypeMap(type.Visit(typePrinter), out typeMap))
109+
var typeName = type.Visit(typePrinter);
110+
if (FindTypeMap(typeName, out typeMap))
110111
{
111112
typeMap.Type = type;
112113
typeMaps[type] = typeMap;

0 commit comments

Comments
 (0)