Changes between Version 145 and Version 146 of j2p
- Timestamp:
- 10/15/24 13:20:34 (6 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
j2p
v145 v146 168 168 169 169 All 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 172 Java 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. 170 173 171 174 === @NonNull