|
|
|
|
|
by lliamander
1291 days ago
|
|
There are two reasons you may want to run a program that fails typechecking: 1. The program is in fact correct, but the typechecker can't prove the program is correct and so reports it as a failure (for contrast other typecheckers only report errors if it can prove that there is an error) 2. The type checker is correct in that the program is flawed in some way, but you are the middle of development and it would be more productive if you could observe the behavior of the program before fixing the types. Since your CI pipeline will fail on type errors it's not like you're going to be able to merge your changes before fixing them. |
|
3. The program is incorrect but correct for all expected end user inputs.