ceylon/ceylon-compiler — Issue #232: Automatic type conversions for Java types
Author: gavinking
Created: 2011-11-26 04:42:11+00:00
State: open
Labels: BEGINNER, FEATURE

We should add support for the following conversions to the model loader and transformer:

1. `java.lang.Long` -> `Integer?`, `java.lang.Integer`->`Integer`
2. `java.lang.Double`->`Float` `java.lang.Float`->`Float`, and
3. `T[]` -> `Sequence` (`ArraySequence` under the covers, of course).

This would be a big step forward for the Java interop.