Skip to content

Commit 232009f

Browse files
committed
Fix GetStaticKeyword to return null when there is no need for it. It solves some templating processing problems (tests to show it pending).
1 parent d3b8e60 commit 232009f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

External/Plugins/ASCompletion/Completion/ASGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3585,7 +3585,7 @@ private static void GenerateGetterSetter(string name, MemberModel member, int po
35853585
private static string GetStaticKeyword(MemberModel member)
35863586
{
35873587
if ((member.Flags & FlagType.Static) > 0) return ASContext.Context.Features.staticKey ?? "static";
3588-
return string.Empty;
3588+
return null;
35893589
}
35903590

35913591
private static string GetPrivateAccessor(MemberModel member)

0 commit comments

Comments
 (0)