ee908da853
Type parameters were sorted by the order of the type-param-def-stmts. But we need to preserve the order of the type-param-name-list. The is the order of positional parameters in a derived-type-spec. So add `paramNames` to `DerivedTypeDetails` to preserve the original order. Using this allows us to write module files with both the type-param-name-list and type-param-def-stmts in the original order. Also fix a bug where a duplicate type-param-def caused a spurious extra error. If `MakeTypeSymbol()` reports an error we should not call `SetType()` because it will just report another error. Original-commit: flang-compiler/f18@3ca55b6333 Reviewed-on: https://github.com/flang-compiler/f18/pull/239 |
||
---|---|---|
.. | ||
common | ||
evaluate | ||
parser | ||
semantics | ||
CMakeLists.txt |