Skip to content

Method Runtime::raw does not accept float value #11

@yurikuzn

Description

@yurikuzn

I run into this problem after upgrading from Lighncandy.

If a float value is passed in data, it is converted to int since the float type is missing in the type declaration of the Runtime::raw method. As result, 1.5 will be printed as 1.

Adding float to the union type declaration solves the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions