Xcode iOS15 beta 2 .tag in ForEach doesn't compile

in Xcode iOs15 beta 2 the .tag modifier in a ForEach statement gives the following compile error "The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions" the error shows up on the .navigationBarTitle line but its due to the .tag line

works fine on all previous releases.

anyone know how to fix? code example below

func content() -> some View {
        let rentFrequencies = RentFrequency.allCases
        return List {
            ForEach(rentFrequencies, id: \.self) { rentFrequency in
                if rentFrequency != RentFrequency.NoFrequency {
                    HStack() {
Text(rentFrequency.name).tag(rentFrequency.id) // Including this tag makes it not compile
                        if rentFrequency == type {
                            Spacer()
                            Image(systemName: "checkmark") .foregroundColor(.accentColor)
                        }
                    }
                    .onTapGestureForced(perform: { self.type = rentFrequency })
                    .frame(width: nil, height: 32.0)
                }
            }
        } .listStyle(InsetGroupedListStyle())
        .navigationBarTitle("Rent Frequency")
    }
Xcode iOS15 beta 2 .tag in ForEach doesn't compile
 
 
Q