Changes between Version 145 and Version 146 of j2p


Ignore:
Timestamp:
10/15/24 13:20:34 (6 weeks ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • j2p

    v145 v146  
    168168
    169169All these complications around varargs, including more eg [https://github.com/mrocklin/multipledispatch/issues/72 around dispatching vararg-typed methods] led us to currently not support varargs.
     170
     171=== Implicit casting, narrowing
     172Java does automatic casting to silently convert between bytes, int, long etc. These can also involve narrowing, loss of precision etc. There is partial support for these. The translator recognises when such conversion is done and tries to insert extra code to implement the expected narrowing as needed. This is not yet implemented for conversions between double and float, as the translator translates both to python floats.
    170173
    171174=== @NonNull