For the use case of SwiftUI ForEach, you can work around the limitation by using explicit id param.
ForEach(problematicArray, id: \.id) { entry in ... }
Edit: Or perhaps not. It no longer errors in Xcode (14.1), but the compiler dies when attempting to build. Oops.
Topic:
Programming Languages
SubTopic:
Swift
Tags: