Fixed semicolon placement in custom type declarations
このコミットが含まれているのは:
1 親
2291851cdb
コミット
d8a4ff30bb
1ファイル変更
+6
-1
@@ -195,7 +195,12 @@ namespace ComputeSharp.SourceGenerators
|
||||
VariableDeclarator(Identifier(field.Name)))));
|
||||
}
|
||||
|
||||
yield return structDeclaration.NormalizeWhitespace().ToFullString();
|
||||
// Insert the trailing ; right after the closing bracket (after normalization)
|
||||
yield return
|
||||
structDeclaration
|
||||
.NormalizeWhitespace()
|
||||
.WithSemicolonToken(Token(SyntaxKind.SemicolonToken))
|
||||
.ToFullString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする