summaryrefslogtreecommitdiff
path: root/Test/dafny0/Answer
diff options
context:
space:
mode:
authorGravatar Bryan Parno <parno@microsoft.com>2014-02-10 16:48:43 -0800
committerGravatar Bryan Parno <parno@microsoft.com>2014-02-10 16:48:43 -0800
commitf0f4e3acbabc7386dafce96ea6b077896045bb73 (patch)
tree84e8646b4e9bea0506473cb609b737fe94ff5d52 /Test/dafny0/Answer
parent783c272bb035c7ce419c312cd7ade5a8de378d75 (diff)
Preliminary support for reals in Dafny specs. No compiler suport yet.
Diffstat (limited to 'Test/dafny0/Answer')
-rw-r--r--Test/dafny0/Answer19
1 files changed, 18 insertions, 1 deletions
diff --git a/Test/dafny0/Answer b/Test/dafny0/Answer
index b8ebb8e0..863d749c 100644
--- a/Test/dafny0/Answer
+++ b/Test/dafny0/Answer
@@ -143,6 +143,23 @@ Execution trace:
Dafny program verifier finished with 15 verified, 9 errors
+-------------------- RealTypes.dfy --------------------
+RealTypes.dfy(5,23): Error: assertion violation
+Execution trace:
+ (0,0): anon0
+RealTypes.dfy(11,12): Error: possible division by zero
+Execution trace:
+ (0,0): anon0
+ RealTypes.dfy(10,23): anon3_Else
+ (0,0): anon2
+RealTypes.dfy(11,20): Error: assertion violation
+Execution trace:
+ (0,0): anon0
+ RealTypes.dfy(10,23): anon3_Else
+ (0,0): anon2
+
+Dafny program verifier finished with 5 verified, 3 errors
+
-------------------- Definedness.dfy --------------------
Definedness.dfy(8,7): Error: possible division by zero
Execution trace:
@@ -498,7 +515,7 @@ ResolutionErrors.dfy(309,18): Error: ghost fields are allowed only in specificat
ResolutionErrors.dfy(318,15): Error: ghost variables are allowed only in specification contexts
ResolutionErrors.dfy(343,2): Error: incorrect type of method in-parameter 1 (expected GenericClass<int>, got GenericClass<bool>)
ResolutionErrors.dfy(355,18): Error: incorrect type of datatype constructor argument (found GList<_T0>, expected GList<int>)
-ResolutionErrors.dfy(363,6): Error: arguments to + must be int or a collection type (instead got bool)
+ResolutionErrors.dfy(363,6): Error: arguments to + must be int or real or a collection type (instead got bool)
ResolutionErrors.dfy(368,6): Error: all lines in a calculation must have the same type (got int after bool)
ResolutionErrors.dfy(371,6): Error: first argument to ==> must be of type bool (instead got int)
ResolutionErrors.dfy(371,6): Error: second argument to ==> must be of type bool (instead got int)