Syntax Error: Omit cannot be nested - Help says Compile/Omit can be nested 8 levels deep

Anyone seen this where the compiler throws the error:

Syntax Error: Omit cannot be nested

Yet the docs say it can be nested interchangeably upto 8 levels deep.

Any ideas why the compiler is throwing this error message?

Edit.
Could this be caused by using Omit/Compile inside a class?

TIA

Yes, I’ve seen it
There’s a bug somewhere in the compiler
Where sometimes it just doesn’t support nested omits when it should
I have yet to figure out the pattern

For me it was working in a class until mid morning yesterday, its like someone has just switched a bit.