diff --git a/std/jule/parser/scope.jule b/std/jule/parser/scope.jule index 5e5152984..03e7542a4 100644 --- a/std/jule/parser/scope.jule +++ b/std/jule/parser/scope.jule @@ -1011,6 +1011,9 @@ impl scopeParser { } mut l := self.buildAssignL(part) + if l.Expr == nil { + ret false + } l.Mutable = isMut l.Reference = isRef assign.Left = append(assign.Left, l)