Fix https://github.com/fsharp/fsharp/issues/282