Skip to content

fix(tests): stop the TipFloor regression shadowing its helper - #939

Merged
bmc08gt merged 1 commit into
mainfrom
fix/tip-floor-regression-shadow
Oct 1, 2026
Merged

bmc08gt merged 1 commit into
mainfrom
fix/tip-floor-regression-shadow

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Oct 1, 2026

Copy link
Copy Markdown
Collaborator

The cross-platform vector gate fails at App vectors (build) on every run since #889:

_swiftmacro_..Regression_6a677815fdca5cb0d6a9ef7e..requirefMf_.swift:2:3: error: cannot call value of non-function type 'TipFloor'

let floor = try #require(floor(for: ...)) resolves floor inside the macro expansion to the local being declared, not the floor(for:) helper. Xcode 26.3 on the runner rejects it. This renames the helper to statedFloor(for:).

The two most recent gate failures on main stopped earlier, at Ed25519 vectors, with a SwiftPM "already exists in file system" error downloading the SharedCore 0.10.0 xcframework. That was transient: a rerun of run 36866371159 passed both package vector steps and failed only on this compile error.

`let floor = try #require(floor(for: ...))` resolves `floor` to the local
being declared once #require expands, so Xcode 26.3 fails with "cannot
call value of non-function type 'TipFloor'". That broke App vectors
(build) in the vector gate on every run since #889. Rename the helper to
statedFloor(for:).
@bmc08gt bmc08gt self-assigned this Oct 1, 2026
@bmc08gt
bmc08gt merged commit 7a6339d into main Oct 1, 2026
1 check failed
@bmc08gt
bmc08gt deleted the fix/tip-floor-regression-shadow branch October 5, 2026 15:16
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