Skip to content

The new verifyUSRToDeclReconstruction checking cannot handle @abi when the abi name does not exist in real ast #85030

@ktoso

Description

@ktoso

Description

When doing this PR #84944 we noticed the complete_diagnostics_concurrency.swift test will fail in the verifyUSRToDeclReconstruction since it cannot handle @abi properly

@hamishknight has ideas how to fix it, but for now we have disabled this checking for @abi attribute

Reproduction

See: https://github.com/swiftlang/swift/pull/84944/commits

@abi(func doesNotExist()) func example() {}

should be sufficient, but that PR's first commit reproduces entirely

Expected behavior

should not crash

Environment

current main, 6.3 development

Additional information

No response

Metadata

Metadata

Assignees

Labels

SourceKitArea → source tooling: SourceKitbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.code completionArea → source tooling: code completion

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions