Skip to content

The new parser cannot parse scientific notation floating point numbers #21

@gilramir

Description

@gilramir

For example, in gren-lang/test/src/Test/Distribution/Internal.gren

a1 : Float
a1 =
    -3.969683028665376e1

results in:

 % ../gren.sh format --pre-ast gren-lang/test/src/Test/Distribution/Internal.gren
-- FAILED TO PARSE ---------- gren-lang/test/src/Test/Distribution/Internal.gren

223| a1 : Float
224| a1 =
225|     -3.969683028665376e1
                            ^
226|
227|

Not a valid number

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions