Browse Source

fix `encode_type` too

Simon Krajewski 5 years ago
parent
commit
64e2fa1d9e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/macro/macroApi.ml

+ 2 - 0
src/macro/macroApi.ml

@@ -1081,6 +1081,8 @@ and encode_type t =
 			6, [vnull]
 		| TLazy f ->
 			loop (lazy_type f)
+		| TAbstract ({a_path=([],"Dynamic")},[t]) ->
+			6, [encode_type t]
 		| TAbstract (a, pl) ->
 			8, [encode_abref a; encode_tparams pl]
 	in