mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
Classify the '=' sign in variable/parameter/property as if it was an operator.
This commit is contained in:
@@ -12,7 +12,7 @@ var c = classification;
|
||||
verify.syntacticClassificationsAre(
|
||||
c.keyword("class"), c.className("C"), c.punctuation("{"),
|
||||
c.comment("<<<<<<< HEAD"),
|
||||
c.text("v"), c.punctuation("="), c.numericLiteral("1"), c.punctuation(";"),
|
||||
c.text("v"), c.operator("="), c.numericLiteral("1"), c.punctuation(";"),
|
||||
c.comment("======="),
|
||||
c.text("v"), c.punctuation("="), c.numericLiteral("2"), c.punctuation(";"),
|
||||
c.comment(">>>>>>> Branch - a"),
|
||||
|
||||
Reference in New Issue
Block a user