swiftlang / swift-package-manager

The Package Manager for the Swift Programming Language
Apache License 2.0
9.72k stars 1.34k forks source link

Add 'any' to generated test runner code #7705

Closed glbrntt closed 3 months ago

glbrntt commented 3 months ago

Using the upcoming existential any feature via '-Xswiftc -enable-upcoming-feature -Xswiftc ExistentialAny' causes build failures on non-Darwin platforms as a test observer class is generated which doesn't use explicit 'any'.

This is an issue for library maintainers who want to enforce this in CI.

MaxDesiatov commented 3 months ago

@swift-ci test