Skip to content

Commit 66cf32b

Browse files
refact(sqlite): more expecific variable name
1 parent feab13e commit 66cf32b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/engine/sqlite/convert.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,13 +1073,13 @@ func (c *cc) convertBetweenExpr(n *parser.Expr_betweenContext) ast.Node {
10731073
}
10741074

10751075
func (c *cc) convertCastExpr(n *parser.Expr_castContext) ast.Node {
1076-
name := n.Type_name().GetText()
1076+
typeName := n.Type_name().GetText()
10771077
return &ast.TypeCast{
10781078
Arg: c.convert(n.Expr()),
10791079
TypeName: &ast.TypeName{
1080-
Name: name,
1080+
Name: typeName,
10811081
Names: &ast.List{Items: []ast.Node{
1082-
&ast.String{Str: name},
1082+
&ast.String{Str: typeName},
10831083
}},
10841084
ArrayBounds: &ast.List{},
10851085
},

0 commit comments

Comments
 (0)