parser: Disallow static member var in nested UDT (#748)