Removed accidental syntax
This commit is contained in:
parent
2787d947b5
commit
c4962ac24c
|
@ -427,7 +427,7 @@ namespace Upsilon.Binder
|
|||
case Type.String when index.Type == Type.Number:
|
||||
return new BoundIndexExpression(expression, index, Type.String);
|
||||
default:
|
||||
\ _diagnostics.LogInvalidIndexExpression(expression.Type, index.Type, e.Span);
|
||||
_diagnostics.LogInvalidIndexExpression(expression.Type, index.Type, e.Span);
|
||||
return new BoundLiteralExpression(new LuaNull());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue