Skip to content

Literals work awfully with the dot notation #96

Open
@Champii

Description

@Champii

The parser has trouble using literals with the dot notation

The following

main: -> 1.print()

Is parsed as

main: -> 1.0(print())

There is trouble with Float64 particularly as it produce a hard parse error:

main: -> 2.2.print()

The Bool and String work well. The problem is obviously when parsing the dot .

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions