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
1a4e2eea
Commit
1a4e2eea
authored
Apr 04, 2017
by
Mário Pereira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refinement (wip)
parent
4aa58d79
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
modules/ocaml.mlw
modules/ocaml.mlw
+2
-0
src/mlw/pmodule.ml
src/mlw/pmodule.ml
+1
-1
No files found.
modules/ocaml.mlw
View file @
1a4e2eea
...
...
@@ -47,4 +47,6 @@ module OCaml
type int63 = Int63.int63
type integer = int
end
src/mlw/pmodule.ml
View file @
1a4e2eea
...
...
@@ -637,7 +637,7 @@ let clone_type_decl inst cl tdl kn =
|
Some
s'
->
if
not
(
List
.
length
ts
.
ts_args
=
List
.
length
s'
.
its_ts
.
ts_args
)
then
raise
(
BadInstance
id
);
if
not
(
its_pure
s
&&
its_pure
s'
)
then
raise
(
BadInstance
id
);
(* if not (its_pure s && its_pure s') then raise (BadInstance id); *)
let
pd'
=
Mid
.
find
s'
.
its_ts
.
ts_name
kn
in
let
d'
=
begin
match
pd'
.
pd_node
with
|
PDtype
[
d'
]
->
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