This is a follow up from #429: Refactor compiler option TranslatorErrors to the generic Diagnostic interface. To do this smoothly, all of the older compiler options should be refactored to the newer functions, including dedicated codes and harness tests. Potentially, in corner cases tests must be performed on the mainframe.