mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
We've already generated the parts necessary to handle `@main` during SILGen. Keeping the attribute on the struct means that re-ingesting the SIL will fail because it tries to re-create the implicit `$main` function resulting in the following error message: error: invalid redeclaration of synthesized static method '$main()' static func $main()
279 B
279 B