Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Why3
why3
Commits
52dd5bdc
Commit
52dd5bdc
authored
Mar 26, 2013
by
Andrei Paskevich
Browse files
minor
parent
5762bb84
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/whyml/mlw_ty.ml
View file @
52dd5bdc
...
...
@@ -821,10 +821,12 @@ let spec_check ~full_xpost c ty =
|
Some
ps
->
ignore
(
ps_app
ps
[
t
;
t
])
|
None
->
ignore
(
t_type
t
)
in
List
.
iter
check_variant
c
.
c_variant
;
if
full_xpost
then
let
sexn
=
Sexn
.
union
c
.
c_effect
.
eff_raises
c
.
c_effect
.
eff_ghostx
in
if
not
(
Sexn
.
is_empty
(
Mexn
.
set_diff
sexn
c
.
c_xpost
))
then
raise
(
UnboundException
(
Sexn
.
choose
sexn
))
if
full_xpost
&&
not
(
Mexn
.
set_submap
c
.
c_effect
.
eff_raises
c
.
c_xpost
)
then
raise
(
UnboundException
(
Sexn
.
choose
(
Mexn
.
set_diff
c
.
c_effect
.
eff_raises
c
.
c_xpost
)));
if
full_xpost
&&
not
(
Mexn
.
set_submap
c
.
c_effect
.
eff_ghostx
c
.
c_xpost
)
then
raise
(
UnboundException
(
Sexn
.
choose
(
Mexn
.
set_diff
c
.
c_effect
.
eff_ghostx
c
.
c_xpost
)))
(** program variables *)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment