java2xtend icon indicating copy to clipboard operation
java2xtend copied to clipboard

Primitive field initialization constants have to be converted

Open JanKoehnlein opened this issue 12 years ago • 0 comments

The field switches type: public class Foo { double x = 0 } becomes class Foo { var x=0 } which is an integer.

Also public class Foo { double x = 0.0 } becomes class Foo { var x = 0. }

which is not valid syntax

JanKoehnlein avatar Jul 04 '13 14:07 JanKoehnlein