diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/monomorphise.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monomorphise.ml b/src/monomorphise.ml index 7bcd33dd..9cc1c404 100644 --- a/src/monomorphise.ml +++ b/src/monomorphise.ml @@ -2263,7 +2263,7 @@ let deps_of_uvar kid_deps arg_deps = function | U_typ typ -> deps_of_typ kid_deps arg_deps typ let mk_subrange_pattern vannot vstart vend = - let (_,len,ord,typ) = vector_typ_args_of (typ_of_annot vannot) in + let (_,len,ord,typ) = vector_typ_args_of (Env.base_typ_of (env_of_annot vannot) (typ_of_annot vannot)) in match ord with | Ord_aux (Ord_var _,_) -> None | Ord_aux (ord',_) -> |
