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
43cb9b40
Commit
43cb9b40
authored
Jul 10, 2007
by
Pietro Abate
Browse files
[r2004-06-28 03:37:47 by afrisch] Detect polymorphic values
Original author: afrisch Date: 2004-06-28 03:37:47+00:00
parent
b7c69d36
Changes
1
Hide whitespace changes
Inline
Side-by-side
ocamliface/mltypes.ml
View file @
43cb9b40
...
...
@@ -103,7 +103,7 @@ let rec unfold seen constrs ty =
|
_
->
assert
false
)
rd
.
row_fields
in
PVariant
fields
|
Tvar
->
assert
false
|
Tvar
->
failwith
"Polymorphic value"
|
Tconstr
(
p
,
args
,_
)
->
let
args
=
List
.
map
loop
args
in
let
pn
=
Path
.
name
p
in
...
...
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