Skip to content

Conversation

joshtynjala
Copy link

Changes

Issue: Numbers and strings after a colon were treated as type names, which could cause problems with highlighting for anonymous structures, like this one:

var obj = { num: 123.4, str: "hello" };

With this change, non-identifiers are excluded from being treated as a type name.

Checklist

  • Added markup tests, or they don't apply here because...
  • Updated the changelog at CHANGES.md

…rings

previously, numbers and strings were treated as types, which could cause problems with highlighting for anonymous structures, like:

var obj = { num: 123.4, str: "hello" };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants