mirror of
https://github.com/hanzoai/expr.git
synced 2026-09-24 16:58:58 +00:00
gen: less string vars
This commit is contained in:
@@ -365,9 +365,6 @@ func sequenceNode(depth int) string {
|
||||
|
||||
func variableNode(depth int) string {
|
||||
e := node(depth - 1)
|
||||
if e == "foobar" {
|
||||
return "~!@"
|
||||
}
|
||||
if !strings.Contains(e, "foobar") {
|
||||
return "~!@"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user