Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.
This repository was archived by the owner on Jan 27, 2025. It is now read-only.

Issue when lexing "true" & "false" #8

Description

@Gipson62

Description:

Literal::Bool(bool) is never constructed because "true" & "false" are considered as identifier and/or keyword, but not as a literal value like they should.

Steps to Reproduce:

Create a lexer using the `atlas-core` library.
Input the strings "true" and "false".
Observe that they are not recognized as `Literal::Bool(bool)`.

Expected Behavior:

"true" and "false" should be recognized and constructed as Literal::Bool(bool).

Actual Behavior:

"true" and "false" are considered as identifiers and/or keywords, and not as literal values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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