We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a2de5a commit 78ecbf9Copy full SHA for 78ecbf9
tools/gnatcov/checkpoints.adb
@@ -573,7 +573,7 @@ package body Checkpoints is
573
if CP_Header.Magic /= Checkpoint_Magic then
574
Fatal_Error ("invalid checkpoint file " & Filename);
575
576
- elsif CP_Header.Version not in Checkpoint_Version then
+ elsif CP_Header.Version /= Checkpoint_Version'Last then
577
Fatal_Error
578
("invalid checkpoint version" & CP_Header.Version'Img);
579
0 commit comments