Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cduce
cduce
Commits
43c6695c
Commit
43c6695c
authored
Jul 11, 2014
by
Kim Nguyễn
Browse files
Fix a bug in printing of negative variables.
parent
7b6cc70d
Changes
1
Hide whitespace changes
Inline
Side-by-side
types/types.ml
View file @
43c6695c
...
...
@@ -1954,6 +1954,7 @@ struct
|
[]
,
l
,
[]
->
[
intersection
(
l
@
rem
)
]
|
l1
,
l2
,
[]
->
[
intersection
((
union
l1
)
::
(
l2
@
rem
))
]
|
[]
,
[]
,
l2
->
[
intersection
([
Neg
(
alloc
[
union
l2
])
]
@
rem
)]
|
l1
,
[]
,
l2
->
[
intersection
((
union
l1
)
::
[
Neg
(
alloc
[
union
l2
])
]
@
rem
)
]
|
l1
,
l2
,
l3
->
[
intersection
([
union
l1
;
intersection
[
intersection
l2
;
Neg
(
alloc
l3
)]]
@
rem
)
]
in
if
subtype
any
tt
then
print_topvars
[]
else
...
...
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