swiftlang/swift-package-manager
在 GitHub 查看`containsAtMain` does not handle `@main` on the same line as a multi-line end comment
Open
#9,685 创建于 2026年2月5日
good first issue
仓库指标
- Star
- (10,145 star)
- 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