I'm using this code to signal an error if a file is missing.
if !File.Exists(inputPath) then
printfn "inputPath doesn't exist %s" inputPath; failwith "stop"
Instead, this error appears. What did I misunderstand?
error FS0001: This expression was expected to have type
bool ref
but here has type
bool