Skip to content

Commit 56d64ef

Browse files
committed
fix: rename type
1 parent 796672e commit 56d64ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/engine/dolphin/convert.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,7 @@ func (c *cc) convertPatternInExpr(n *pcast.PatternInExpr) ast.Node {
10921092
return in
10931093
}
10941094

1095-
func (c *cc) convertPatternLikeExpr(n *pcast.PatternLikeExpr) ast.Node {
1095+
func (c *cc) convertPatternLikeExpr(n *pcast.PatternLikeOrIlikeExpr) ast.Node {
10961096
return &ast.A_Expr{
10971097
Kind: ast.A_Expr_Kind(9),
10981098
Name: &ast.List{
@@ -1703,7 +1703,7 @@ func (c *cc) convert(node pcast.Node) ast.Node {
17031703
case *pcast.PatternInExpr:
17041704
return c.convertPatternInExpr(n)
17051705

1706-
case *pcast.PatternLikeExpr:
1706+
case *pcast.PatternLikeOrIlikeExpr:
17071707
return c.convertPatternLikeExpr(n)
17081708

17091709
case *pcast.PatternRegexpExpr:

0 commit comments

Comments
 (0)