Skip to content

fix(tests): resolve textView shadowing that breaks the Xcode 26 test build - #1185

Merged
bmc08gt merged 1 commit into
mainfrom
fix/composer-regression-test-shadowing
Oct 31, 2026
Merged

bmc08gt merged 1 commit into
mainfrom
fix/composer-regression-test-shadowing

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Oct 31, 2026

Copy link
Copy Markdown
Collaborator

The test build fails on Xcode 26.3 with cannot call value of non-function type 'UITextView' at Regression_6ac83e33396a2e9520a308f4.swift:129, inside the #require(textView(in: window)) macro expansion.

The local let textView shadows the static helper textView(in:) inside the #require expansion on Xcode 26.3, though newer toolchains accept it. The line now calls Self.textView(in: window). The shadowing came in with #1181.

@bmc08gt bmc08gt self-assigned this Oct 31, 2026
@bmc08gt
bmc08gt merged commit 7e44fa8 into main Oct 31, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant