swift-markdown-ui icon indicating copy to clipboard operation
swift-markdown-ui copied to clipboard

Circular Reference in `enum InlineNode: Hashable` when adding this package to my SwiftUI project

Open NickTheFreak97 opened this issue 9 months ago • 3 comments

Adding this to my SwiftUI project (min target: iOS 15.0, swift-tool-version: 5.6) immediately produces this error.

NickTheFreak97 avatar Feb 01 '25 14:02 NickTheFreak97

same issue

linhaosunny avatar Feb 14 '25 01:02 linhaosunny

升级到 2.3.1 看看已经关掉的 issue 里

tangzzz-fan avatar Feb 24 '25 09:02 tangzzz-fan

https://github.com/electricsidecar-dev/swift-markdown-ui/commit/f0d1b7fe722e6eda41db2e56f75529956ffa42fa This seems to solve the issue.

nikhildm avatar Feb 26 '25 07:02 nikhildm

Diabling Sendable checking fixes the issue for me.

enum InlineNode: Hashable, @unchecked(Sendable)

See also https://forums.swift.org/t/strange-enum-circular-reference-error-in-xcode-13-3/56721

SolfaMode avatar Sep 30 '25 12:09 SolfaMode