Explorar o código

[jvm] little boxes on the haxeside

Simon Krajewski %!s(int64=5) %!d(string=hai) anos
pai
achega
df312ed199
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      src/generators/genjvm.ml

+ 3 - 1
src/generators/genjvm.ml

@@ -159,7 +159,9 @@ let rec jsignature_of_type gctx stack t =
 	| TLazy f -> jsignature_of_type (lazy_type f)
 
 and jtype_argument_of_type gctx stack t =
-	TType(WNone,jsignature_of_type gctx stack t)
+	let jsig = jsignature_of_type gctx stack t in
+	let jsig = get_boxed_type jsig in
+	TType(WNone,jsig)
 
 and return_of_type gctx stack t =
 	if ExtType.is_void (follow t) then None else Some (jsignature_of_type gctx stack t)