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/switch2.lus
13 13
tel
14 14

  
15 15
--requires assert to be true
16
--@ ensures OK;
17 16
node top(set, treset, initial:bool) returns (OK:bool);
17
--@ contract guarantees OK;
18 18
var level,level1:bool;
19 19
let
20 20
  level = SWITCH(set,treset,initial);

Also available in: Unified diff