summaryrefslogtreecommitdiff
path: root/Test/dafny2/StoreAndRetrieve.dfy
Commit message (Collapse)AuthorAge
* This changeset changes the default visibility of a function/predicate body ↵Gravatar leino2015-03-09
| | | | | | | | | | outside the module that declares it. The body is now visible across the module boundary. To contain the knowledge of the body inside the module, mark the function/predicate as 'protected'. Semantics of 'protected': * The definition (i.e., body) of a 'protected' function is not visible outside the defining module * The idea is that inside the defining module, a 'protected' function may or may not be opaque. However, this will be easier to support once opaque/reveal are language primitives. Therefore, for the time being, {:opaque} is not allowed to be applied to 'protected' functions. * In order to extend the definition of a predicate in a refinement module, the predicate must be 'protected' * The 'protected' status of a function must be preserved in refinement modules
* Stop pretty-print from emitting deprecated semi-colons.Gravatar qunyanm2015-03-05
|
* Disallow parentheses-less declarations of predicates and co-predicates, ↵Gravatar leino2014-08-27
| | | | along with a backward-compatibility warning message if such declarations are attempted
* Set up the same test infrastructure as in Boogie.Gravatar wuestholz2014-05-29
|
* Moved resolution of BinaryExpr.ResolveOp until the CheckTypeInference phase, ↵Gravatar Rustan Leino2013-04-01
| | | | | | | where more type information is known Refactored ConcreteUpdateStatement to no longer inherit from ConcreteSyntaxStatement. Fixed numerous places where some recursive checks did not reach.
* renamed "abstract module" to "module facade"Gravatar Rustan Leino2012-10-22
| | | | renamed "ghost module" to "abstract module", adding a keyword "abstract"
* improved and fixed compilation and resolution of assign-such-that statementsGravatar Rustan Leino2012-10-05
|
* Dafny: updated test suite to new syntaxGravatar Jason Koenig2012-07-30
|
* Dafny: restored soundness for refinement by disallowing certain updates and ↵Gravatar Jason Koenig2012-07-11
| | | | method calls
* Dafny: reinstated autocontractsGravatar Jason Koenig2012-07-02
|
* Dafny: fixed a couple of compiler bugsGravatar Unknown2012-06-14
|
* Dafny: support assign-such-that in var declarations in refinementsGravatar Unknown2012-03-15
|
* Dafny: added StoreAndRetrieve refinement exampleGravatar Unknown2012-03-15