This project is read-only.

Space in inherited class declaration in Script breaks the binder


Source: (parsed as Script, not Document)
class AB C : object { }
Pressing Ctrl+Space in the space between AB and C will throw from,192

It looks like c : object is parsed as a LabeledStatement, which thoroughly confuses the Binder.

The simplest way to get a Script editor window to repro this is to build and run (requires Dev14 installed, but has no other prerequisites), then paste that text.