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.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!