fix type name comparsion (#3309)

This commit is contained in:
samuraiGH 2025-06-30 19:19:24 +03:00 committed by GitHub
parent 7614931f06
commit 9927a0e305
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1950,7 +1950,7 @@ namespace PascalABCCompiler.NETGenerator
mi = TypeBuilder.GetMethod(t, mi);
}
else if (t.Name != "TypeBuilderInstantiation")
else if (t.GetType().Name != "TypeBuilderInstantiation")
{
try
{