swiftlang/swift-package-manager
`containsAtMain` does not handle `@main` on the same line as a multi-line end comment
開放
#9,685 建立於 2026年2月5日
good first issue
倉庫指標
- 星標
- (10,145 顆星)
- PR 合併指標
- (平均合併 9天 4小時) (30 天內合併 62 個 PR)
描述
The containsAtMain function call does not correctly return true with the following input
/*
This is a multi-line comment
/* @main
struct MyApp {
static func main() {
print("Hello, World!")
}
}
Search for the GitHub issue in the swift-package-manager repository to located an impacted automated test