Closed ahoppen closed 1 month ago
I have a package with
Lib.swift
public struct MyLib {}
Test.swift
import Lib extension MyLib: @retroactive ExpressibleByBooleanLiteral { public init(booleanLiteral value: BooleanLiteralType) {} }
This gives me an error saying
Test.swift:3:18: error: 'retroactive' attribute does not apply; 'ExpressibleByBooleanLiteral' is declared in this module
I assume what’s meant hers is
Test.swift:3:18: error: 'retroactive' attribute does not apply; 'MyLib' is declared in this package
Fixed by https://github.com/swiftlang/swift/pull/76189.
I have a package with
Lib.swift
Test.swift
This gives me an error saying
I assume what’s meant hers is