Here is a piece of Delphi code that the compiler perfectly compiles :
Var S: String;
Begin
S := Format('%s %s', ['Hello']);
....
But on execution it raises an exception, of course there are two argument in the left string, and only one in the brackets...
Is there a way to have this error checked by the compiler and to be displayed at least as a warning, or better fatal error?