Sfoglia il codice sorgente

fix `encode_type` too

Simon Krajewski 5 anni fa
parent
commit
64e2fa1d9e
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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