This is either a parsing bug in KeY or a printing bug in JML Parser.
Given the file
public class PolishFlagSort {
/*@
@ public normal_behavior
@ ensures (\forall int I, J; 0 <= I && I < J && J < ar.length; ar[I] <= ar[J]);
@*/
public static void sort ( int[] ar ) {
return;
}
}
reprinting via JML Parser produces:
public class PolishFlagSort {
/*@ normal_behavior
ensures (\forall int I, int J;0 <= I && I < J && J < ar.length; ar[I] <= ar[J]);
*/
public static void sort(int[] ar) {
return;
}
}
Note the , int J vs , J.
This is not blocking our project so no hurry, but I wanted to persist this observation.
From a superficial glance this does not seem to be fixable quickly.
This is either a parsing bug in KeY or a printing bug in JML Parser.
Given the file
reprinting via JML Parser produces:
Note the
, int Jvs, J.This is not blocking our project so no hurry, but I wanted to persist this observation.
From a superficial glance this does not seem to be fixable quickly.