Home
Options

How to enable compiler warnings for F#?

Hi,

This code should generate a warning because V4 is not matched by LinqPad is not showing it. Is there an option that enables that?


type Values = V1 | V2 | V3 | V4
let value = V1

match value with
| V1 -> printfn "V1"
| V2 -> printfn "V2"
| V3 -> printfn "V3"

Thanks

Pawel

Comments

Sign In or Register to comment.