summaryrefslogtreecommitdiff
path: root/Test/dafny0/Trait
Commit message (Collapse)AuthorAge
* Fix: Unify column numbers in Dafny's errorsGravatar Clément Pit--Claudel2015-07-23
| | | | | | | | | Dafny counts from 0, but Boogie counts from 1. Tokens are 1-based. Thus when we print tokens, we need to decrement the column number. This was done for resolver errors, but not for verification or parsing errors. In addition, parsing errors were inconsistent with resolution errors case-wise. Unfortunately, the fix affects the output of many tests.
* clarified error message that occurs when the "opened" keyword is left off of ↵Gravatar Michael Lowell Roberts2015-07-20
| | | | a module import.
* Fixed crashes in overrides checking of function decreases clauses, and ↵Gravatar Rustan Leino2015-07-07
| | | | improved the error message reported to users
* Improvements in traits test caseGravatar leino2015-05-29
|
* Include axioms about $Is and $IsAlloc for traitsGravatar leino2015-04-07
|
* Support calls to static trait methods/functions via the classGravatar leino2015-04-07
|
* Revised look-up and compilation of inherited trait members (static ↵Gravatar leino2015-04-07
| | | | functions/methods don't work yet)
* Fixed compilation of static members in traitsGravatar leino2015-04-05
|
* Fixed some bugs in override axioms (but still missing support for classes ↵Gravatar leino2015-04-05
| | | | | | | with type parameters). Resolve ClassDecl.TraitsTyp as types. Moved declaration of TraitParent and NoTraitAtAll to prelude.
* Whitespace deltas in test files (in particular, removing tabs and adjusting ↵Gravatar leino2015-04-03
| | | | some indentation)
* Added test cases and fixes for overrides termination checksGravatar leino2015-04-03
| | | | Removed syntactic presence checks for specifications--these will be checked semantically by the verifier
* MergeGravatar leino2014-12-09
|\
| * minor change on a test.Gravatar Reza Ahmadi2014-12-03
| |
| * added multiple trait inheritance.Gravatar Reza Ahmadi2014-12-03
| | | | | | | | - a class can now extend more than one traits
* | Snapshot, to be continuedGravatar leino2014-12-02
| |
| * removing one unnessessary check in the clonerGravatar Reza Ahmadi2014-12-02
| |
| * - fixed a bug in merging fields that come from a parent traitGravatar Reza Ahmadi2014-12-02
|/ | | | - added one more test
* Resolved further merge issuesGravatar leino2014-08-05
|
* added one more test caseGravatar Reza Ahmadi2014-07-31
|
* combined few testsGravatar Reza Ahmadi2014-07-31
|
* combined two testsGravatar Reza Ahmadi2014-07-31
|
* added one more test.Gravatar Reza Ahmadi2014-07-20
|
* - fixed a bug in inheriting members from a traitGravatar Reza Ahmadi2014-07-20
| | | | | | | => ResolvedClass in userdefinedtypes used to be null-> fixed - checking only bodyless methods and functions to make sure they have been implemented in the child class - added one more test
* fixed one .expect file. now all 11 tests related to Traits pass.Gravatar Reza Ahmadi2014-07-20
|
* - fixed an issue regarding including ghost functions in the compiled interfaceGravatar Reza Ahmadi2014-07-20
| | | | - added one more test
* added trait feature:Gravatar Reza Ahmadi2014-07-18
-possibility to declare traits in Dafny -possibility to extend a class by a trait -possibility to override body-less methods