Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
why3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
119
Issues
119
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Why3
why3
Commits
aa53b02a
Commit
aa53b02a
authored
Apr 18, 2015
by
MARCHE Claude
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a few adjustments after Why3 GT
parent
53f53265
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
src/transform/detect_polymorphism.ml
src/transform/detect_polymorphism.ml
+1
-0
src/whyml/mlw_interp.ml
src/whyml/mlw_interp.ml
+3
-0
No files found.
src/transform/detect_polymorphism.ml
View file @
aa53b02a
...
...
@@ -76,6 +76,7 @@ let detect_polymorphism_in_decl ign_ts ign_ls ign_pr d =
monomorphic, since it is checked by typing *)
List
.
fold_left
(
fun
acc
(
ls
,_
)
->
acc
||
check_ls
ign_ls
ls
)
false
indl
|
Dprop
(
_
,
pr
,
t
)
->
(* todo: NE PAS TESTER le goal *)
not
(
Spr
.
mem
pr
ign_pr
)
&&
let
s
=
Term
.
t_ty_freevars
Ty
.
Stv
.
empty
t
in
not
(
Ty
.
Stv
.
is_empty
s
)
...
...
src/whyml/mlw_interp.ml
View file @
aa53b02a
...
...
@@ -1281,7 +1281,10 @@ and exec_app env s ps args (*spec*) ity_result =
Mreg
.
filter
(
fun
r1
r2
->
not
(
reg_equal
r1
r2
))
subst
in
let
env1
=
{
env
with
regenv
=
(*
Mreg.union (fun _ x _ -> Some x) subst env.regenv }
*)
Mreg
.
set_union
subst
env
.
regenv
in
match
find_definition
env
ps
with
|
Some
d
->
...
...
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