Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Why3
why3
Commits
9e660415
Commit
9e660415
authored
Jan 01, 2017
by
Andrei Paskevich
Browse files
why3extract: suppress a compilation warning
parent
adcea649
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/mlw/vc.ml
View file @
9e660415
...
...
@@ -656,7 +656,6 @@ and k_fun env lps ?(oldies=Mpv.empty) ?(xmap=Mexn.empty) cty e =
let
k
=
Mexn
.
fold
(
fun
_
((
i
,_
)
,
xq
)
k
->
Kseq
(
k
,
i
,
Kstop
xq
))
xq
k
in
(* move the postconditions under the VCgen tag *)
(* FIXME: VCgen labels should not be pushed under proxy let *)
let
k
=
if
Slab
.
mem
sp_label
e
.
e_label
then
Ktag
(
SP
,
k
)
else
if
Slab
.
mem
wp_label
e
.
e_label
then
Ktag
(
WP
,
k
)
else
k
in
let
k
=
bind_oldies
oldies
(
bind_oldies
cty
.
cty_oldies
k
)
in
...
...
src/tools/why3extract.ml
View file @
9e660415
...
...
@@ -138,7 +138,7 @@ let test_extract fmt m =
let
rec
do_extract_module
?
fname
m
=
test_extract
(
Format
.
formatter_of_out_channel
stdout
)
m
;
let
extract_use
m'
=
let
_
extract_use
m'
=
let
fname
=
if
m'
.
mod_theory
.
Theory
.
th_path
=
[]
then
fname
else
None
in
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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