Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
why3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Why3
why3
Commits
f14be792
Commit
f14be792
authored
13 years ago
by
Andrei Paskevich
Browse files
Options
Downloads
Patches
Plain Diff
fix Pgm_wp.f_btop (closes #13323)
parent
bbb2391f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/programs/pgm_wp.ml
+2
-2
2 additions, 2 deletions
src/programs/pgm_wp.ml
with
2 additions
and
2 deletions
src/programs/pgm_wp.ml
+
2
−
2
View file @
f14be792
...
...
@@ -668,13 +668,13 @@ let rec t_btop env t = match t.t_node with
|
Tapp
(
ls
,
[]
)
when
ls_equal
ls
(
find_ls
~
pure
:
true
env
"False"
)
->
t_label
t
.
t_label
t_false
|
_
->
t_equ
t
(
t_True
env
)
t_equ
(
f_btop
env
t
)
(
t_True
env
)
and
f_btop
env
f
=
match
f
.
t_node
with
|
Tapp
(
ls
,
[{
t_ty
=
Some
{
ty_node
=
Tyapp
(
ts
,
[]
)}}
as
l
;
r
])
when
ls_equal
ls
ps_equ
&&
ts_equal
ts
(
find_ts
~
pure
:
true
env
"bool"
)
->
t_label_copy
f
(
t_iff_simp
(
t_btop
env
l
)
(
t_btop
env
r
))
|
_
->
TermTF
.
t_map
(
fun
t
->
t
)
(
f_btop
env
)
f
|
_
->
t_map
(
f_btop
env
)
f
let
add_wp_decl
ps
f
uc
=
let
name
=
ps
.
ps_pure
.
ls_name
in
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment