From 02798596379651c30923a1271c96e676ebe16f64 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Tue, 27 Nov 2018 17:40:35 +0100 Subject: [PATCH] Fixes binary operators not properly handling indexers --- Upsilon/Parser/Parser.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Upsilon/Parser/Parser.cs b/Upsilon/Parser/Parser.cs index f1d0391..12b9c4e 100644 --- a/Upsilon/Parser/Parser.cs +++ b/Upsilon/Parser/Parser.cs @@ -390,6 +390,8 @@ namespace Upsilon.Parser left = ParsePrimaryExpression(); } + left = HandleComplexExpression(left); + while (true) { var precedence = Current.Kind.BinaryOperatorPrecedence();