diff options
Diffstat (limited to 'src/Substitute.ml')
-rw-r--r-- | src/Substitute.ml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Substitute.ml b/src/Substitute.ml index fa7016b1..dc2821f0 100644 --- a/src/Substitute.ml +++ b/src/Substitute.ml @@ -31,6 +31,7 @@ let rec ty_substitute (rsubst : 'r1 -> 'r2) | Never -> Never | Integer int_ty -> Integer int_ty | Str -> Str + | TypeVar vid -> tsubst vid (** Erase the regions in a type and substitute the type variables *) let erase_regions_substitute_types (tsubst : T.TypeVarId.id -> T.ety) |