Generation de l'architecture compat Swift 6 avec des final class Sendable
Some checks are pending
gitea-openium/resgen.swift/pipeline/head Build started...
gitea-openium/resgen.swift/pipeline/pr-master Build started...

This commit is contained in:
2025-04-30 10:21:03 +02:00
parent 57cedd37bb
commit abb259951c
3 changed files with 3 additions and 5 deletions

View File

@ -55,7 +55,7 @@ struct ConfigurationArchitecture: Codable {
func getClass(generateStaticProperty: Bool = true) -> String {
guard children?.isEmpty == false else {
return "class \(classname) {}"
return "final class \(classname): Sendable {}"
}
let classDefinition = [