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

Hello! I am a new developer learning Swift and Xcode for the first time and I am using the tutorial here: https://developer.apple.com/tutorials/swiftui/creating-and-combining-views

Now, for no reason its telling me "Failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project"

I am using Xcode Version 13.4.1 (13F100)

Here is the code

//

//  ContentView.swift

//  Landmarks

//

//  Created by [name] on 6/26/22.

//

import SwiftUI

struct ContentView: View {

    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

        VStack (alignment: .leading){

            Text("Turtle Rock")

                .font(.title)

            .foregroundColor(.black)

            HStack {

                Text("Joshua Tree National Park").font(.subheadline)

                Spacer()

                Text("California").font(.subheadline)

            }

        }

        .padding

    }

}

struct ContentView_Previews: PreviewProvider {

    static var previews: some View {

        ContentView()

    }

}

Ok comparing the tutorial code and my code, I have found the problem. I had .padding instead of .padding()

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