Workaround for unsupported optional fields of type variant or record.
These fields are required, with a compile-time warning.
Report correct field location in warning.