Skip to content

Primitive field initialization constants have to be converted #22

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions