Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support numbers inside identifiers #42

Closed
ballercat opened this issue Dec 25, 2017 · 0 comments
Closed

Support numbers inside identifiers #42

ballercat opened this issue Dec 25, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@ballercat
Copy link
Owner

Bug Report

Overview

Numbers are not supported as part of identifiers. Looks like it was omitted from the tokenizer, should be supported.

Expected

Identifiers like test1 should be valid

Actual

SyntaxError: 
function test1(arr: i32[]): void {
             ^ Unexpected value
Expected: (
  at test (unknown.walt:7:13)

Example

@ballercat ballercat added the bug label Dec 25, 2017
@ballercat ballercat added this to the Alpha milestone Dec 25, 2017
@ballercat ballercat self-assigned this Dec 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant