fix: disable array request body (#4220)

This commit is contained in:
kesonan
2024-07-02 11:55:01 +08:00
committed by GitHub
parent 2f9b6cf8ec
commit 4a62d084a9
3 changed files with 27 additions and 10 deletions

View File

@@ -575,3 +575,7 @@ func (e *BodyExpr) Pos() token.Position {
}
func (e *BodyExpr) exprNode() {}
func (e *BodyExpr) IsArrayType() bool {
return e.LBrack != nil
}