Skip to content

Commit eb915ff

Browse files
committed
fix: rename type
1 parent 622c182 commit eb915ff

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
@@ -1103,7 +1103,7 @@ func (c *cc) convertPatternInExpr(n *pcast.PatternInExpr) ast.Node {
11031103
return in
11041104
}
11051105

1106-
func (c *cc) convertPatternLikeExpr(n *pcast.PatternLikeExpr) ast.Node {
1106+
func (c *cc) convertPatternLikeExpr(n *pcast.PatternLikeOrIlikeExpr) ast.Node {
11071107
return &ast.A_Expr{
11081108
Kind: ast.A_Expr_Kind(9),
11091109
Name: &ast.List{
@@ -1719,7 +1719,7 @@ func (c *cc) convert(node pcast.Node) ast.Node {
17191719
case *pcast.PatternInExpr:
17201720
return c.convertPatternInExpr(n)
17211721

1722-
case *pcast.PatternLikeExpr:
1722+
case *pcast.PatternLikeOrIlikeExpr:
17231723
return c.convertPatternLikeExpr(n)
17241724

17251725
case *pcast.PatternRegexpExpr:

0 commit comments

Comments
 (0)