summaryrefslogtreecommitdiff
path: root/Test/dafny0/DTypes.dfy
diff options
context:
space:
mode:
Diffstat (limited to 'Test/dafny0/DTypes.dfy')
-rw-r--r--Test/dafny0/DTypes.dfy4
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/dafny0/DTypes.dfy b/Test/dafny0/DTypes.dfy
index 70f9bbd0..c8c893a0 100644
--- a/Test/dafny0/DTypes.dfy
+++ b/Test/dafny0/DTypes.dfy
@@ -78,7 +78,7 @@ class Node { }
class CP<T,U> {
}
-datatype Data = Lemon | Kiwi(int);
+datatype Data = Lemon | Kiwi(int)
function G(d: Data): int
requires d != Data.Lemon;
@@ -90,7 +90,7 @@ function G(d: Data): int
// -------- some things about induction ---------------------------------
-datatype Tree<T> = Leaf(T) | Branch(Tree<T>, Tree<T>);
+datatype Tree<T> = Leaf(T) | Branch(Tree<T>, Tree<T>)
class DatatypeInduction<T> {
function LeafCount<G>(tree: Tree<G>): int