I just tried to use a static member function within an interface, and I got an unexpected identifier error:
/* @flow */
interface A {
static someStatic(): void;
} // inter.js:4:10,10: Unexpected identifier
Is relaxing Type._object env to Type._object ~allow_static:true env (src/parser/parser_flow.ml) fraught with peril? (I expect the override semantics of class to get applied, so I don't see any problem.)