Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
// Status: WIP

public protocol AttributeBodyVisitor {
func visit<Body: _AttributeBody>(body: UnsafePointer<Body>)
mutating func visit<Body: _AttributeBody>(body: UnsafePointer<Body>)
Copy link
Copy Markdown

@augmentcode augmentcode Bot Apr 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sources/OpenAttributeGraph/Attribute/Body/AttributeBodyVisitor.swift:8 — With visit now mutating, any struct/enum conformers must also mark their implementation as mutating or they will no longer satisfy AttributeBodyVisitor (e.g., the Visitor in Tests/OpenAttributeGraphCompatibilityTests/Attribute/Attribute/AnyAttributeCompatibilityTests.swift). Consider ensuring internal/downstream conformers are updated accordingly.

Severity: medium

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

}
1 change: 0 additions & 1 deletion Sources/OpenAttributeGraphShims/Adapter/DanceUIGraph.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
@_exported public import DanceUIRuntime
@_exported public import DanceUIGraph

public typealias AttributeBodyVisitor = DanceUIGraph.AttributeBodyVisitor
public typealias ComparisonMode = DGComparisonMode
public typealias GraphContext = DGGraphContextRef
public typealias Metadata = DGTypeID
Expand Down
Loading