Failed to produce diagnostic for expression; please file a bug report

Failed to produce diagnostic for expression; please file a bug report
Code Block
This is what the program writes to me (the most ******* SwiftUI in the world! !!!!!) and I don't understand what to do with it - tell me, friends

        

                do {

                    try asset.export(to: fileLosUrlOBJ)

                }catch let error as NSError {

                    print(" failed writing obj super variant's \(error)")

                }

    

    }

}







struct ScanView: View {

    

    

    @EnvironmentObject var orientationInfo : OrientationInfo

    @EnvironmentObject var session: Session

    @EnvironmentObject var lidarLosView : LidarViewModel

    

    @State var inpt : String = ""

    @State var outpu : String = ""

    @State var typing = false

    @State var myBackFloat : Float = 0.0

    

    @Binding var los : Float

    @Binding var los2 : Float

    

    var body: some View {

                

        GeometryReader {geom in

            ZStack {

                

                if !typing {

                               if !outpu.isEmpty {

                                   Text("You typed: \(outpu)")

                               }

                           } else if !inpt.isEmpty {

                               Text("You are typing: \(inpt)")

                           }

                         

                

                

               // myBackFloat = lidarLosView.getMyMeasu

                lidarLosView.sceneLos

                

                

                

                if UIDevice.current.userInterfaceIdiom == .pad {

                    ScanLidarButtons()

                        .edgesIgnoringSafeArea(.top)

                } else {

                    ScanLidarButtonsMobile()

                }

                

            

            

        }.ignoresSafeArea(.keyboard, edges: .bottom)



    }

}



}





struct ScanView_Previews: PreviewProvider {

    let float2 : Float = 0.2

    static var previews: some View {

      

        

        ScanView(los: float2, los2: float2)

    }

}
Your code shown is sort of broken, so cannot say something sure for all ranges of your code.
(Better care about code formatting if you want to let readers help solving your issue.)

But you need to fix ScanView_Previews at least:
Code Block
struct ScanView_Previews: PreviewProvider {
static let float2 : Float = 0.2
static var previews: some View {
ScanView(los: .constant(float2), los2: .constant(float2))
}
}

If you have other issues with your code, you may need to show more info.
Please show all the relevant code (OrientationInfo, LidarViewModel, Session, ScanLidarButtons and ScanLidarButtonsMobile, there may be more), well formatted. (Use the Code block icon <> properly.)

Failed to produce diagnostic for expression; please file a bug report
 
 
Q