mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
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:
parent
1ebd029931
commit
e5c2c4057e
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ def OptimizeFunc(self, parent, index):
|
||||||
newnode = nr(nt='+', t='string', SEF=True,
|
newnode = nr(nt='+', t='string', SEF=True,
|
||||||
ch=[CastDL2S(self, child[0], i),
|
ch=[CastDL2S(self, child[0], i),
|
||||||
nr(nt='+', t='string', SEF=True,
|
nr(nt='+', t='string', SEF=True,
|
||||||
ch=[child[1], newnode]
|
ch=[self.Cast(child[1], 'string'), newnode]
|
||||||
)
|
)
|
||||||
])
|
])
|
||||||
parent[index] = newnode
|
parent[index] = newnode
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue