Open
Description
We should:
- introduce long literal
- introduce byte literal
- introduce short literal
- introduce float literal
- introduce a sort of cast (
getA() as int
,getB() as long
) for primitive type conversions - test automatic conversion from int to long (
var long a = getInt()
) - test automatic conversion from short to long (
var long a = getShort()
) - test automatic conversion from byte to long (
var long a = getByte()
) - test automatic conversion from short to int (
var int a = getShort()
) - test automatic conversion from byte to int (
var int a = geByte()
) - test automatic conversion from byte to short (
var byte a = getByte()
) - test automatic conversion from float to double (
var double a = getFloat()
)