Can confirm that this works, BUT - if you're not seeing the error in the Issue Navigator, make sure you're not filtering out warnings.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: