Hey so I'm looking into C examples where the code will not compile due to its type error but not give any run time error when the user executes the program. I can't seem to find much about this topic. One example I found of this is: "if an expression always evaluates to true at run-time, a program containing the code if <complex test> then 42 else <type error>
will be rejected as ill-typed, because a static analysis cannot determine that the else branch won't be taken 'ref = https://stackoverflow.com/questions/1517582/what-is-the-difference-between-statically-typed-and-dynamically-typed-languages'".
I'm looking into more examples of Static typing errors that aren't conditional