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
45f71248
Commit
45f71248
authored
May 05, 2017
by
Jean-Christophe Filliâtre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed refinement of record types (ghost fields)
parent
a5152b0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/mlw/pmodule.ml
src/mlw/pmodule.ml
+1
-1
No files found.
src/mlw/pmodule.ml
View file @
45f71248
...
...
@@ -599,7 +599,7 @@ let clone_type_record cl s d s' d' =
let
pj'
=
Opt
.
get
rs'
.
rs_field
in
let
pj'_ity
=
pj'
.
pv_ity
in
let
pj'_ght
=
pj'
.
pv_ghost
in
if
not
(
ity_equal
pj_ity
pj'_ity
&&
pj_ght
=
pj'_ght
)
then
if
not
(
ity_equal
pj_ity
pj'_ity
&&
(
pj_ght
||
not
pj'_ght
)
)
then
raise
(
BadInstance
id
);
let
ls
,
ls'
=
ls_of_rs
rs
,
ls_of_rs
rs'
in
cl
.
ls_table
<-
Mls
.
add
ls
ls'
cl
.
ls_table
;
...
...
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