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
e8b84eb5
Commit
e8b84eb5
authored
Nov 15, 2015
by
Kim Nguyễn
Browse files
fix a typo in the error message of refernces (BUG#45)
parent
e684a165
Changes
1
Hide whitespace changes
Inline
Side-by-side
typing/typer.ml
View file @
e8b84eb5
...
...
@@ -1456,7 +1456,7 @@ substtitution: %a @]@\n%!"
if
not
(
Var
.
Set
.
subset
vars
env
.
delta
)
then
error
loc
(
Printf
.
sprintf
"Type ref %s con
s
tains polymorphic variables"
"Type ref
(
%s
)
contains polymorphic variables"
(
Types
.
Print
.
string_of_type
td
))
else
begin
ignore
(
type_check
env
e
td
false
);
...
...
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