From a8953bef9bebfaa4afb56a914060360c7453e8b8 Mon Sep 17 00:00:00 2001 From: leino Date: Fri, 31 Jul 2015 16:43:34 -0700 Subject: Allow forall statements in refinements --- Test/dafny0/RefinementErrors.dfy.expect | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Test/dafny0/RefinementErrors.dfy.expect') diff --git a/Test/dafny0/RefinementErrors.dfy.expect b/Test/dafny0/RefinementErrors.dfy.expect index 40cdb081..bac6612d 100644 --- a/Test/dafny0/RefinementErrors.dfy.expect +++ b/Test/dafny0/RefinementErrors.dfy.expect @@ -9,4 +9,5 @@ RefinementErrors.dfy(38,13): Error: type parameters are not allowed to be rename RefinementErrors.dfy(39,23): Error: the type of parameter 'z' is different from the type of the same parameter in the corresponding function in the module it refines ('seq' instead of 'set') RefinementErrors.dfy(40,9): Error: there is a difference in name of parameter 3 ('k' versus 'b') of function F compared to corresponding function in the module it refines RefinementErrors.dfy(57,20): Error: a function can be changed into a function method in a refining module only if the function has not yet been given a body: G -11 resolution/type errors detected in RefinementErrors.dfy +RefinementErrors.dfy(94,10): Error: refinement method cannot assign to a field defined in parent module ('a') +12 resolution/type errors detected in RefinementErrors.dfy -- cgit v1.2.3