Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Inconsistent scoping of decimals #318

Closed

Description

@chbk

I noticed some bugs on decimal numbers:

c

0.9 == .9

9.0 == 9.

a

b

On the first line, .9 shouldn't be illegal: Floating-point literals.

Also, periods in numbers should have their own scope IMO, different from constant.numeric, the same way plus and minus signs are keyword.operator.

Activity

  1. winstliu commented on Feb 1, 2016

    @winstliu
    Contributor

    Yeah periods in numbers definitely shouldn't be listed as properties.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions