Skip to content

Primitive field initialization constants have to be converted #22

@JanKoehnlein

Description

@JanKoehnlein

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions