summaryrefslogtreecommitdiff
path: root/Binaries
diff options
context:
space:
mode:
authorGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-06-07 11:49:47 -0700
committerGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-06-07 11:49:47 -0700
commitdd8117ebb70bdb1531a35eb47f490929a5c658fb (patch)
tree3f9de6027c849635255fe899d000f0aaadbee9d0 /Binaries
parent9a7cc1eaf7dc9006f249ceab7793ccd0b6da40ac (diff)
Fix the Seq#Contain axiom; it should talk about T, not ref.
Diffstat (limited to 'Binaries')
-rw-r--r--Binaries/DafnyPrelude.bpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Binaries/DafnyPrelude.bpl b/Binaries/DafnyPrelude.bpl
index 5ee8b845..ef6106e0 100644
--- a/Binaries/DafnyPrelude.bpl
+++ b/Binaries/DafnyPrelude.bpl
@@ -836,7 +836,7 @@ function Seq#Contains<T>(Seq T, T): bool;
axiom (forall<T> s: Seq T, x: T :: { Seq#Contains(s,x) }
Seq#Contains(s,x) <==>
(exists i: int :: { Seq#Index(s,i) } 0 <= i && i < Seq#Length(s) && Seq#Index(s,i) == x));
-axiom (forall x: ref ::
+axiom (forall<T> x: T ::
{ Seq#Contains(Seq#Empty(), x) }
!Seq#Contains(Seq#Empty(), x));