Python: modules are now possibly non-unique

We should consider if this is the right way..
This commit is contained in:
Rasmus Lerchedahl Petersen
2023-09-11 12:57:44 +02:00
committed by yoff
parent be506c64ba
commit ed3ffde5e6

View File

@@ -400,7 +400,7 @@ class ModuleVariableNode extends Node, TModuleVariableNode {
override Scope getScope() { result = mod }
override string toString() {
result = "ModuleVariableNode in " + mod.toString() + " for " + var.getId()
result = "ModuleVariableNode in " + concat( | | mod.toString(), ",") + " for " + var.getId()
}
/** Gets the module in which this variable appears. */