gonzalezreal / swift-markdown-ui

Display and customize Markdown text in SwiftUI
MIT License
2.44k stars 298 forks source link

Fix "error: circular reference" in Xcode 16.0 beta (16A5171c). #325

Closed electricsidecar-dev closed 3 months ago

electricsidecar-dev commented 3 months ago

FB13830058 tracks upstream resolution of this, as this seems to be a Swift compiler bug.

Fixes https://github.com/gonzalezreal/swift-markdown-ui/issues/323

fayharinn commented 3 months ago

Thank you so much it's working

electricsidecar-dev commented 3 months ago

You're welcome — happy WWDC!

Larry-Gensch commented 3 months ago

Builds without error:

gonzalezreal commented 3 months ago

@electricsidecar-dev FYI, the CI is failing. It seems you forgot to update the unit tests.

gonzalezreal commented 3 months ago

I ended up merging #328, which fixes the issue with a one-liner. Thanks for jumping into this!