summaryrefslogtreecommitdiff
path: root/src/ir/possible-contents.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/possible-contents.cpp')
-rw-r--r--src/ir/possible-contents.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/possible-contents.cpp b/src/ir/possible-contents.cpp
index 27ba8c759..06d380a95 100644
--- a/src/ir/possible-contents.cpp
+++ b/src/ir/possible-contents.cpp
@@ -1559,7 +1559,7 @@ void TNHOracle::infer() {
}
while (1) {
typeFunctions[type].push_back(func.get());
- if (auto super = type.getSuperType()) {
+ if (auto super = type.getDeclaredSuperType()) {
type = *super;
} else {
break;