[flang] Fix extended derived type kind compatibility check
`HaveCompatibleKindParameters` was not considering the kind parameters of the parent types leading to false answers. This change fixes this by directly looking into the map of `ParamValue` of the `DeclTypeSpec` instead of going through the symbols of the derived type scope. This map contains all the parent and implicit type parameters. Original-commit: flang-compiler/f18@cd5b976fc96ec695d46f23910080cbcaa5431a5d Reviewed-on: https://github.com/flang-compiler/f18/pull/615 Tree-same-pre-rewrite: false
Loading
Please sign in to comment