Skip to content

Commit

Permalink
Fixes issue #1283
Browse files Browse the repository at this point in the history
  • Loading branch information
angryzor committed Jul 26, 2024
1 parent 3f923b1 commit f5cf031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Generator/Passes/GetterSetterToPropertyPass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ private static Stream GetResourceStream(Assembly assembly)
}

public GetterSetterToPropertyPass()
=> VisitOptions.ResetFlags(VisitFlags.ClassTemplateSpecializations);
=> VisitOptions.ResetFlags(VisitFlags.ClassBases | VisitFlags.ClassTemplateSpecializations);

public override bool VisitClassDecl(Class @class)
{
Expand Down

0 comments on commit f5cf031

Please sign in to comment.