
When you define an object on ES6 class, closing bracket of that object will get highlighted in red. When you define a number, a string, an array or a lambda instead, everything works.
class Thing {
foo = {}
}
class OtherThing {
bar = 42
}
You can reproduce this on master branch.