We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2206c7d commit 9f20397Copy full SHA for 9f20397
flang/lib/Semantics/resolve-names.cpp
@@ -8574,8 +8574,10 @@ bool ResolveNamesVisitor::Pre(const parser::ImportStmt &x) {
8574
} else {
8575
Say(name,
8576
"A distinct '%s' is already present in this scope"_err_en_US)
8577
- .Attach(symbol->name(), "Previous declaration of '%s'"_en_US)
8578
- .Attach(outer->name(), "Declaration of '%s' in host scope"_en_US);
+ .Attach(symbol->name(), "Previous declaration of '%s'"_en_US,
+ symbol->name().ToString())
8579
+ .Attach(outer->name(), "Declaration of '%s' in host scope"_en_US,
8580
+ outer->name().ToString());
8581
}
8582
8583
0 commit comments