Always cast the separator to string when expanding
If it is a key, it would otherwise cause an error on expansion.
This commit is contained in:
@@ -210,7 +210,7 @@ def OptimizeFunc(self, parent, index):
|
||||
newnode = nr(nt='+', t='string', SEF=True,
|
||||
ch=[CastDL2S(self, child[0], i),
|
||||
nr(nt='+', t='string', SEF=True,
|
||||
ch=[child[1], newnode]
|
||||
ch=[self.Cast(child[1], 'string'), newnode]
|
||||
)
|
||||
])
|
||||
parent[index] = newnode
|
||||
|
||||
Reference in New Issue
Block a user