Details
-
Bug
-
Resolution: Fixed
-
Low
-
7.0.0
-
Severity 3 - Minor
-
Description
Issue Summary
When using a nullish coalescing operator in JavaScript code, syntax highlighting can break.
Steps to Reproduce
Have a nullish coalescing operator in your code, e.g.
const BAR = 'bar' const foobar = `${foo ?? 'vf'}`; // after the nullish coalescing operator the highlighting breaks
Expected Results
Highlighting doesn't break
Actual Results
Highlighting breaks
This has been fixed in CodeMirror and should be released in its next release (5.58).
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available.