Expand typed SQL DSL
This commit is contained in:
parent
72606e7818
commit
314c8fb207
17 changed files with 1082 additions and 498 deletions
|
|
@ -89,6 +89,13 @@ func (checker *mutabilityChecker) checkStmts(statements []Stmt) error {
|
|||
if err := checker.checkExpr(value.Value); err != nil {
|
||||
return err
|
||||
}
|
||||
case FieldAssignStmt:
|
||||
if err := checker.checkExpr(value.Target); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := checker.checkExpr(value.Value); err != nil {
|
||||
return err
|
||||
}
|
||||
case ReturnStmt:
|
||||
if value.Value != nil {
|
||||
if err := checker.checkExpr(value.Value); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue