Regular IIFE (Correct):

ES6 Arrow IIFE (Incorrect):

Above on line 1, the fragment = (() =>, the inner ( is missing the punctuation.definition.parameters.begin.js scope.
Subsequently, on line 3 the ending )() is missing meta.brace.round.js
- VSCode
v1.17.2
- OSX
v10.11.6
Steps to Reproduce:
- Create any immediately invoked function expression, using an ES6 arrow function.
- Use a theme that colors
punctuation scopes differently (such as Duotone)
Reproduces without extensions? Yes
(However, no built-in themes visually show the problem, you must use the scope inspector.)
Regular IIFE (Correct):
ES6 Arrow IIFE (Incorrect):
Above on line 1, the fragment
= (() =>, the inner(is missing thepunctuation.definition.parameters.begin.jsscope.Subsequently, on line 3 the ending
)()is missingmeta.brace.round.jsv1.17.2v10.11.6Steps to Reproduce:
punctuationscopes differently (such as Duotone)Reproduces without extensions? Yes
(However, no built-in themes visually show the problem, you must use the scope inspector.)