Signed-off-by: ADITYA TIWARI <adityatiwari342005@gmail.com>
This commit is contained in:
ADITYA TIWARI 2026-01-30 19:04:33 +00:00
parent 629e6c9d35
commit 147a28dff5

View file

@ -1193,7 +1193,7 @@ func (p *parser) getAtModifierVars(e Node) (**int64, *ItemType, *posrange.Pos, b
// hasModifiersBeforeRange checks if an expression has offset/@ modifiers that are
// immediately adjacent to a bracket (no space), which should be rejected for subqueries.
func (p *parser) hasModifiersBeforeRange(expr Expr, bracketPos posrange.Pos) (bool, string) {
func (*parser) hasModifiersBeforeRange(expr Expr, bracketPos posrange.Pos) (bool, string) {
var endPos posrange.Pos
var hasOffset bool
var hasAtModifier bool