[flang] Fix crash in semantics in error recovery
When a FUNCTION statement has both an explicit type in its prefix and a RESULT clause in its suffix, semantics crashes due to the redundant type; emit a nice error message instead. Differential Revision: https://reviews.llvm.org/D134504
Loading
Please sign in to comment