Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Frozenreflex committed Apr 17, 2024
1 parent b97b443 commit fc16504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ProjectObsidian.SourceGenerators/BindingGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ private void TypedFieldDetection(string type, string name, string targetTypeName
if (!type.Contains(targetTypeName + "<")) return;
var t = type.TrimEnds((targetTypeName + "<").Length, 1);
counter.Add(name);
_declarations.Add(string.Format(" new public readonly " + declarationFormat + "{0};\n", name, t));
_declarations.Add(string.Format(" new public readonly " + declarationFormat + " {0};\n", name, t));
}
private void UntypedFieldDetection(string type, string name, string targetTypeName, string declarationFormat, OrderedCount counter)
{
Expand Down

0 comments on commit fc16504

Please sign in to comment.