diff options
author | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2006-04-05 02:28:13 +0000 |
---|---|---|
committer | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2006-04-05 02:28:13 +0000 |
commit | 602146f89241282e41170147dc5feee96b7d9bfe (patch) | |
tree | 6a83e41602ff65f09b678aeb278beb86a62c621b /typing/subst.ml | |
parent | 9d1901feea29c53f74b3fa5b7af950059767e5ab (diff) |
add virtual instance variables
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7372 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'typing/subst.ml')
-rw-r--r-- | typing/subst.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/typing/subst.ml b/typing/subst.ml index c5c3efe9d..25f557ec5 100644 --- a/typing/subst.ml +++ b/typing/subst.ml @@ -178,7 +178,8 @@ let type_declaration s decl = let class_signature s sign = { cty_self = typexp s sign.cty_self; - cty_vars = Vars.map (function (m, t) -> (m, typexp s t)) sign.cty_vars; + cty_vars = + Vars.map (function (m, v, t) -> (m, v, typexp s t)) sign.cty_vars; cty_concr = sign.cty_concr; cty_inher = List.map (fun (p, tl) -> (type_path s p, List.map (typexp s) tl)) |