Make NamedEntityInterface non-movable (#946)

This commit is contained in:
Geoff Romer
2021-11-10 09:33:00 -08:00
committed by GitHub
parent e8d9b7675b
commit a9bb06ca14
10 changed files with 82 additions and 61 deletions
+2 -2
View File
@@ -213,11 +213,11 @@ void Value::Print(llvm::raw_ostream& out) const {
if (fn_type.deduced().size() > 0) {
out << "[";
unsigned int i = 0;
for (const auto& deduced : fn_type.deduced()) {
for (Nonnull<const GenericBinding*> deduced : fn_type.deduced()) {
if (i != 0) {
out << ", ";
}
out << deduced.name() << ":! " << deduced.type();
out << deduced->name() << ":! " << deduced->type();
++i;
}
out << "]";