(lib/SymbolGraphGen) conformance conditions do not match generic constraints of associated extension block #76559
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage needed
This issue needs more specific labels
Description
when emitting symbol graphs for the swift-atomics package, lib/SymbolGraphGen will record an extension block on
sSP
(UnsafePointer
) with no generic constraints, but it will also emit aconformsTo
edge tos7Atomics11AtomicValueP
(AtomicValue
) from the extension block with the conditionsPointee: Copyable, Pointee: Escapable
Reproduction
clone
swift-atomics
at 1.1.0, and generate the symbol graph with-emit-extension-block-symbols
Expected behavior
the extension block and the conformance edges emanating from the block should always match, so either the extension block needs to include the
Pointee: Copyable, Pointee: Escapable
clauses, or they should be removed from the conformance edge.Environment
Swift version 6.0 (swift-6.0-RELEASE)
Target: x86_64-unknown-linux-gnu
Additional information
No response
The text was updated successfully, but these errors were encountered: