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
7caa2d6e
Commit
7caa2d6e
authored
Jul 10, 2007
by
Pietro Abate
Browse files
[r2003-05-11 11:23:36 by cvscast] Corrected a typo BEPPE
Original author: cvscast Date: 2003-05-11 11:23:36+00:00
parent
83c3eb1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
typing/typer.ml
View file @
7caa2d6e
...
...
@@ -462,7 +462,7 @@ let register_global_types b =
raise_loc_generic
p
.
loc
"Capture variables are not allowed in types"
;
let
t
=
typ
s
in
if
(
p
.
loc
<>
noloc
)
&&
(
Types
.
is_empty
t
)
then
warning
p
.
loc
(
"This definition yield an empty type for "
^
v
);
warning
p
.
loc
(
"This definition yield
s
an empty type for "
^
v
);
Types
.
Print
.
register_global
v
t
)
b
let
dump_global_types
ppf
=
...
...
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