reject extended expression that looks like a static method ref #796