[flang] Undo previous commit.

`name` depends on the template type, so we have to explicitly say
that `has` is a template with the `template` keyword.
Rather than do that I'm putting back the explicit type for name.

Original-commit: flang-compiler/f18@0cde87f2fe
Reviewed-on: https://github.com/flang-compiler/f18/pull/65
This commit is contained in:
Tim Keith 2018-04-23 15:33:59 -07:00
parent 30af7449d9
commit dfd2bcbd3c
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ private:
if (!funcRef) {
return;
}
auto *name = std::get_if<parser::Name>(
parser::Name *name = std::get_if<parser::Name>(
&std::get<parser::ProcedureDesignator>((*funcRef)->v.t).u);
if (!name || !name->symbol || !name->symbol->has<EntityDetails>()) {
return;