Following code causes a failed to emit module error, instead of reporting 2 errors for the unknown type. Problem happens in all dialects, when allowdot is turned off.
#pragma options(allowdot, off)
FUNCTION Start() AS VOID
UnknownType.UnknownMethod()
? UnknownType.UnknownProperty