Just tried it. It worked fine with an explicit type. As you said, it's a bug. Is there any workaround? Thanks
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: