[flang] Fix potential null scope when lowering dispatch table op
Similary to D140209, the scope might need to be retrieved from the typeSymbol. The test code was crashing because the scope passed to CollectBindings was initially null. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D143188
Loading
Please sign in to comment