-strict-sequence turns off "Warning 21: this statement never returns" #7297
Original bug ID: 7297
let () = raise Exit; ()
should produce warning 21, but it only does when the compiler is not given -strict-sequence. The warning should be given regardless of the -strict-sequence flag.
The text was updated successfully, but these errors were encountered: