Failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project

  var body: some View {.         ------->Failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project
      ZStack{
      LinearGradient(gradient: Gradient(colors: [Color.green, Color.white]), startPoint: .topLeading, endPoint: .bottomTrailing)
        .edgesIgnoringSafe(.all)
  class ViewController: UIViewController{
    override func viewDidLoad() {
      super.viewDidLoad

What do you want? This is not a place to write a bug report.

Failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project
 
 
Q