Properly handle full composite key binding in for loops
This commit is contained in:
parent
246aba3e95
commit
43da2b3d19
|
@ -959,6 +959,9 @@ namespace Upsilon.Binder
|
|||
VariableSymbol valueVariable;
|
||||
if (boundEnumerableExpression.Type is CompositeTypeContainer composite && composite.Types.Length == 2)
|
||||
{
|
||||
var keyType = composite.Types[0];
|
||||
keyVariable.TypeContainer = keyType;
|
||||
|
||||
var type = composite.Types[1];
|
||||
if (type == Type.UserData)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue