From 85936f3d68e9680d140f1d84ef2d87b94a763b8c Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sat, 7 Sep 2019 15:38:03 +0200 Subject: [PATCH] Fix Key Identifier and Value identifier in generic for loop using same type for debug string --- src/Binder/BoundStatements/BoundStatement.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Binder/BoundStatements/BoundStatement.hpp b/src/Binder/BoundStatements/BoundStatement.hpp index 5823ad5..f4a8d97 100644 --- a/src/Binder/BoundStatements/BoundStatement.hpp +++ b/src/Binder/BoundStatements/BoundStatement.hpp @@ -438,7 +438,7 @@ namespace Porygon::Binder { DrawIndents(stream, indents); stream << "Key: " << _keyIdentifier->GetIdentifier()->GetDebugString() << " (" << _keyIdentifier->GetType()->ToString() << ")" << endl; DrawIndents(stream, indents); - stream << "Value: " << _valueIdentifier->GetIdentifier()->GetDebugString() << " (" << _keyIdentifier->GetType()->ToString() << ")" << endl; + stream << "Value: " << _valueIdentifier->GetIdentifier()->GetDebugString() << " (" << _valueIdentifier->GetType()->ToString() << ")" << endl; DrawIndents(stream, indents); stream << "Iterator:" << endl; _iterator->GetTreeString(stream, indents + 1);