Explorar o código

fix `encode_type` too

Simon Krajewski %!s(int64=5) %!d(string=hai) anos
pai
achega
64e2fa1d9e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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