Skip to content

Floats with dots and exponents #125

@MaximeKjaer

Description

@MaximeKjaer

The dot should be highlighted as part of the literal:

    .1e12 .1e+34 .1e-56 .1e12f .1e+34f .1e-56f .1e12d .1e+34d .1e-56d
//  ^^^^^ constant.numeric.scala
//        ^^^^^^ constant.numeric.scala
//               ^^^^^^ constant.numeric.scala
//                      ^^^^^^ constant.numeric.scala
//                             ^^^^^^^ constant.numeric.scala
//                                     ^^^^^^^ constant.numeric.scala
//                                             ^^^^^^ constant.numeric.scala
//                                                    ^^^^^^^ constant.numeric.scala
//                                                            ^^^^^^^ constant.numeric.scala

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions