-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Labels
FoundationLinuxPlatform: LinuxPlatform: LinuxbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itselfmultiple modulesFlag: An issue whose reproduction requires multiple modulesFlag: An issue whose reproduction requires multiple modulesname lookupArea → compiler → type checker: Name lookupArea → compiler → type checker: Name lookupsource compatibility suiteFlag: An issue that surfaced in the source compatibility suiteFlag: An issue that surfaced in the source compatibility suiteswift 6.0type checkerArea → compiler: Semantic analysisArea → compiler: Semantic analysistype declarationsFeature → declarations: Type declarationsFeature → declarations: Type declarationsunexpected errorBug: Unexpected errorBug: Unexpected error
Description
Description
/build/swift-source-compat-suite/project_cache/penny-bot/Sources/Penny/Services/AutoPingsService/DefaultPingsService.swift:20:44: error: reference to generic type 'Expression' requires arguments in <...>
18 | var _cachedItems: S3AutoPingItems?
19 | /// `[ExpressionHash: Expression]`
20 | var _cachedExpressionsHashTable: [Int: Expression]?
| `- error: reference to generic type 'Expression' requires arguments in <...>
21 | var resetItemsTask: Task<(), Never>?
22 |
Reproduction
builds:
https://ci.swift.org/job/swift-6.0-source-compat-suite-debug-ubuntu-2004/121/
https://ci.swift.org/job/swift-6.0-source-compat-suite-ubuntu-2004/121/
https://ci.swift.org/job/swift-source-compat-suite-debug-ubuntu-2004/499/
https://ci.swift.org/job/swift-source-compat-suite-ubuntu-2004/599/
Expected behavior
should build fine
Environment
CI
Additional information
Note: in recent builds this might be hidden by another problem:
/Users/ec2-user/jenkins/workspace/swift-main-source-compat-suite/swift-source-compat-suite/project_cache/penny-bot/.build/checkouts/DiscordBM/Sources/DiscordModels/Types/Permission.swift:3:1: error: cannot specialize non-generic type '() -> ()'
1 |
2 | /// https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags
3 | @UnstableEnum<UInt>
| `- error: cannot specialize non-generic type '() -> ()'
4 | public enum Permission: Sendable, Codable {
5 | case createInstantInvite // 0
which should be fixed with the revert #75489
Metadata
Metadata
Assignees
Labels
FoundationLinuxPlatform: LinuxPlatform: LinuxbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itselfmultiple modulesFlag: An issue whose reproduction requires multiple modulesFlag: An issue whose reproduction requires multiple modulesname lookupArea → compiler → type checker: Name lookupArea → compiler → type checker: Name lookupsource compatibility suiteFlag: An issue that surfaced in the source compatibility suiteFlag: An issue that surfaced in the source compatibility suiteswift 6.0type checkerArea → compiler: Semantic analysisArea → compiler: Semantic analysistype declarationsFeature → declarations: Type declarationsFeature → declarations: Type declarationsunexpected errorBug: Unexpected errorBug: Unexpected error