8000 Fix error messeage by YuichiNukiyama · Pull Request #20601 · microsoft/TypeScript · GitHub
[go: up one dir, main page]

Skip to content

Fix error messeage #20601

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

Merged
merged 2 commits into from
Dec 11, 2017
Merged

Conversation

YuichiNukiyama
Copy link
Contributor

Fixes #20585

@DanielRosenwasser
Copy link
Member

LGTM, can you take a look @weswigham?

while (true) {
const ch = text.charCodeAt(pos);
// Numeric seperators are allowed anywhere within a numeric literal, except not at the beginning, or following another separator
if (ch === CharacterCodes._) {
tokenFlags |= TokenFlags.ContainsSeparator;
if (separatorAllowed) {
separatorAllowed = false;
isPreviousTokenSeparator = true;
// tslint:disable-next-line:next-line
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is there a lint rule disabled here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simple mistake. I remove extra lint.

@weswigham weswigham merged commit 792b8bb into microsoft:master Dec 11, 2017
@YuichiNukiyama YuichiNukiyama deleted the fixSeparatorsErrorMessage branch December 11, 2017 23:13
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0