mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 10:54:49 +01:00
Remove MemberName::Print. (#3168)
This function hid the `Value::Print` function from the base class, and provided different output. As far as I can tell, the only caller is the implementation of `Value::Print`.
This commit is contained in:
@@ -761,7 +761,7 @@ void Value::Print(llvm::raw_ostream& out) const {
|
||||
if (member_name.interface().has_value()) {
|
||||
out << *member_name.interface().value();
|
||||
}
|
||||
out << "." << member_name;
|
||||
out << "." << member_name.member();
|
||||
if (member_name.base_type().has_value() &&
|
||||
member_name.interface().has_value()) {
|
||||
out << ")";
|
||||
|
||||
Reference in New Issue
Block a user