Project

General

Profile

« Previous | Next » 

Revision 2d37a1e1

Added by Pierre-Loïc Garoche over 3 years ago

Renaminig lustre contracts from ensures to guarantees
Will require the latest cocospec branch to compile (before it is integrated in the unstable/master branches)

View differences:

regression_tests/lustre_files/success/kind_fmcad08/misc/ex8.lus
21 21
                  else (diff <= -10);
22 22
tel
23 23

  
24
--@ ensures OK;
25 24
node top(beacon,second:bool) returns (OK:bool);
25
--@ contract guarantees OK;
26 26
var late,early: bool;
27 27
let
28 28
  (late,early) = speed(beacon,second);

Also available in: Unified diff