Skip to content

Commit 116ee82

Browse files
committed
Fix a regression when renaming classes
Signed-off-by: Dimitar Dobrev <[email protected]>
1 parent 54c6159 commit 116ee82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Generator/Passes/RenamePass.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public virtual bool Rename(Declaration decl, out string newName)
7171
}
7272
}
7373

74-
if (!(decl is ClassTemplateSpecialization) &&
74+
if (!(decl is Class) &&
7575
!string.IsNullOrEmpty(decl.Name) && AreThereConflicts(decl, decl.Name))
7676
{
7777
char initialLetter = char.IsUpper(decl.Name[0]) ?

0 commit comments

Comments
 (0)