Skip to content
This repository was archived by the owner on May 19, 2018. It is now read-only.
/ babylon Public archive
This repository was archived by the owner on May 19, 2018. It is now read-only.

Parses invalid number literal #467

@jaejun-choi

Description

@jaejun-choi

Input Code

var a = 0123.;

Babylon/Babel Configuration

default

Expected Behavior

Parser should throw a syntax error.

Current Behavior

NumericLiteral(123.0)

Your Environment

software version
Babylon 6.16.1
node 6.10.2
npm 3.10.10

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