Skip to content

fix: add any keyword for CompilerPlugin existential type#240

Merged
takeshishimada merged 1 commit intomainfrom
fix/existential-any-compiler-plugin
Nov 29, 2025
Merged

fix: add any keyword for CompilerPlugin existential type#240
takeshishimada merged 1 commit intomainfrom
fix/existential-any-compiler-plugin

Conversation

@takeshishimada
Copy link
Copy Markdown
Owner

Summary

Fix Swift 6.0 CI build failure caused by missing any keyword.

Problem

CI failed with error:

error: use of protocol 'CompilerPlugin' as a type must be written 'any CompilerPlugin'

Solution

Add any keyword to existential type check in MacroPluginTests.swift:22:

// Before
XCTAssertTrue(plugin is CompilerPlugin)

// After
XCTAssertTrue(plugin is any CompilerPlugin)

Testing

  • All 589 tests pass locally

🤖 Generated with Claude Code

Fix Swift 6.0 strict concurrency error in MacroPluginTests.swift

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@takeshishimada takeshishimada added bug Something isn't working macro Macro implementation related labels Nov 29, 2025
@takeshishimada takeshishimada self-assigned this Nov 29, 2025
@takeshishimada takeshishimada merged commit 15b2660 into main Nov 29, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working macro Macro implementation related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant