Simon Krajewski преди 12 години
родител
ревизия
7caec5014d
променени са 3 файла, в които са добавени 5 реда и са изтрити 6 реда
  1. 2 0
      genjava.ml
  2. 3 3
      std/java/StdTypes.hx
  3. 0 3
      std/java/_std/Array.hx

+ 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


Някои файлове не бяха показани, защото твърде много файлове са промени