Python: More import fixes

:thinkies: turns out that .getASubclass*() had to be applied everywhere...
This commit is contained in:
Rasmus Wriedt Larsen
2023-09-18 14:25:04 +02:00
parent 06fbab9e15
commit bc1fdb0aab

View File

@@ -159,7 +159,8 @@ module NotExposed {
FindSubclassesSpec spec, string newAliasFullyQualified, ImportMember importMember, Module mod,
Location loc
) {
importMember = newOrExistingModeling(spec).getAValueReachableFromSource().asExpr() and
importMember =
newOrExistingModeling(spec).getASubclass*().getAValueReachableFromSource().asExpr() and
importMember.getScope() = mod and
loc = importMember.getLocation() and
(