We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9621e88 commit 7f5892fCopy full SHA for 7f5892f
src/Generator/Passes/RenamePass.cs
@@ -194,6 +194,8 @@ where typedefDecl.Type.Desugar() is FunctionType
194
declarations.AddRange(@class.TemplateParameters);
195
}
196
197
+ declarations.RemoveAll(d => !d.IsGenerated);
198
+
199
var existing = declarations.Find(d => d != decl && d.Name == newName);
200
if (existing != null)
201
return CheckExisting(decl, existing);
0 commit comments