Use first the dotted name variable in the PYSON context

issue11109
review383991002
This commit is contained in:
Cédric Krier committed 2022-01-11 23:03:06 +01:00
1 parent decd7a8ca1
commit ccf9708565
1 file changed
+1 -1
+1 -1
View File
@@ -154,7 +154,7 @@ class Eval(PYSON):
@staticmethod
def eval(dct, context):
if '.' in dct['v']:
if '.' in dct['v'] and dct['v'] not in context:
base, name = dct['v'].split('.', 1)
return Eval.eval({
'v': name,