Fixes binary operators not properly handling indexers

This commit is contained in:
Deukhoofd 2018-11-27 17:40:35 +01:00
parent 160ed60cc2
commit 0279859637
No known key found for this signature in database
GPG Key ID: B4C087AC81641654
1 changed files with 2 additions and 0 deletions

View File

@ -390,6 +390,8 @@ namespace Upsilon.Parser
left = ParsePrimaryExpression(); left = ParsePrimaryExpression();
} }
left = HandleComplexExpression(left);
while (true) while (true)
{ {
var precedence = Current.Kind.BinaryOperatorPrecedence(); var precedence = Current.Kind.BinaryOperatorPrecedence();