Skip to content

Some forms of float literal don't parse #575

@brson

Description

@brson

I expect the following things to parse as float literals but they don't:

12E+99_f32;
12E+99f64;
10f;

The last form (without the decimal) isn't mentioned in the Rust documentation, but since it's explicitly marked as a float i would expect it to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Compiler frontend (errors, parsing and HIR)E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions