2
0
Simon Krajewski 12 жил өмнө
parent
commit
7caec5014d

+ 2 - 0
genjava.ml

@@ -871,6 +871,8 @@ let configure gen =
               path_s_import pos (["java";"lang"], "Object"))
         | TDynamic _ ->
             path_s_import pos (["java";"lang"], "Object")
+      | TAbstract(a,pl) when a.a_impl <> None ->
+        t_s pos (apply_params a.a_types pl a.a_this)
       (* No Lazy type nor Function type made. That's because function types will be at this point be converted into other types *)
       | _ -> if !strict_mode then begin trace ("[ !TypeError " ^ (Type.s_type (Type.print_context()) t) ^ " ]"); assert false end else "[ !TypeError " ^ (Type.s_type (Type.print_context()) t) ^ " ]"
 

+ 3 - 3
std/java/StdTypes.hx

@@ -26,6 +26,6 @@ package java;
  * @author waneck
  */
 
-@:notNull @:runtimeValue abstract Int8 <= Int {}
-@:notNull @:runtimeValue abstract Int16 <= Int {}
-@:notNull @:runtimeValue abstract Char16 <= Int {}
+@:notNull @:runtimeValue @:coreType abstract Int8 from Int {}
+@:notNull @:runtimeValue @:coreType abstract Int16 from Int {}
+@:notNull @:runtimeValue @:coreType abstract Char16 from Int {}

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 3
std/java/_std/Array.hx


Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно