Skip to content

No error handling of binary/hexadecimal floating literals #4804

Closed

Description

Due to the lack of checking (i.e. right before libsyntax/parse/lexer.rs:434), the current lexer parses 0x12.3 as a synonym to 12.3 (!). Moreover 0xAA.5 triggers an assertion failure from APFloat. Tangentially related to issue #1433.

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

Metadata

Assignees

No one assigned

    Labels

    A-parserArea: The parsing of Rust source code to an AST

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions