summaryrefslogtreecommitdiff
path: root/Test/dafny0/Predicates.dfy
Commit message (Collapse)AuthorAge
* Suppress many warnings in the test suite.Gravatar Clément Pit--Claudel2015-08-28
| | | | | We already have separate tests for those, and we want the output to be the same with and without /autoTriggers.
* 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
|
* Set up the same test infrastructure as in Boogie.Gravatar wuestholz2014-05-29
|
* Make functions and predicates be opaque outside the defining module -- only ↵Gravatar Rustan Leino2013-07-29
| | | | their specifications (e.g., ensures clauses) are exported.
* Split verification of quantifier expressions into #2 for checked and #1 for ↵Gravatar Rustan Leino2013-01-23
| | | | | | assumed. Fixed cases where token was not being updated for refinement.
* Dafny: updated test suite to new syntaxGravatar Jason Koenig2012-07-30
|
* Dafny: fixed some test casesGravatar Jason Koenig2012-06-28
|
* Dafny: in compiler, respect C#'s different scoping rules and lack of support ↵Gravatar Unknown2012-06-14
| | | | for special characters in identifiers
* Dafny: Recheck specifications that contain refined (extended) predicates, ↵Gravatar Rustan Leino2012-01-16
| | | | even if they are contained inside a split expression. Superposition is thought to be sound.
* Dafny: handle refinement of nested tokens that come from SpliExpr (still ↵Gravatar Rustan Leino2012-01-12
| | | | need to deal with unsplit expressions, like quantifiers)
* Dafny: allow class-member declarations at top level of any module (not just ↵Gravatar Rustan Leino2012-01-10
| | | | the default module); these go into the (new) default class of each module
* Dafny: added test case for refinement and predicates (and fixed a parsing bug)Gravatar Rustan Leino2012-01-10
|
* Dafny: added predicatesGravatar Rustan Leino2012-01-10