fix: copy parameter of root redefine type too
This commit is contained in:
parent
5de69f1a9a
commit
15c78c2c0f
1 changed files with 4 additions and 4 deletions
|
|
@ -579,10 +579,10 @@ class ParserVariable:
|
|||
for subpath in spath:
|
||||
current = current.children[subpath]
|
||||
current.children[name] = option
|
||||
if option.types:
|
||||
parameters = option.types.parameters.copy()
|
||||
parameters.update(option.parameters)
|
||||
option.parameters = parameters
|
||||
if option.types:
|
||||
parameters = option.types.parameters.copy()
|
||||
parameters.update(option.parameters)
|
||||
option.parameters = parameters
|
||||
|
||||
def change_namespaces(self, variable):
|
||||
for key, value in variable.items():
|
||||
|
|
|
|||
Loading…
Reference in a new issue