mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 04:51:24 +07:00
PY-65418: Update already evaluated result when .extend only if the result not null
GitOrigin-RevId: 14c8e909913819ec62f629266b026b866d07a01b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0f11b2bf73
commit
ed22c3d8b4
@@ -82,7 +82,9 @@ public class PyBlockEvaluator {
|
||||
Object value = myEvaluationResult.myNamespace.get(nameBeingExtended);
|
||||
if (value instanceof List) {
|
||||
Object argValue = prepareEvaluator().evaluate(arg);
|
||||
myEvaluationResult.myNamespace.put(nameBeingExtended, prepareEvaluator().applyPlus(value, argValue));
|
||||
if (argValue != null) {
|
||||
myEvaluationResult.myNamespace.put(nameBeingExtended, prepareEvaluator().applyPlus(value, argValue));
|
||||
}
|
||||
}
|
||||
|
||||
if (myDeclarationsToTrack.contains(nameBeingExtended)) {
|
||||
|
||||
Reference in New Issue
Block a user