Also apply type step in getNodeFromSubPath

This commit is contained in:
Asger F
2022-08-30 13:55:58 +02:00
parent 51d6f752ab
commit f8b1aa7e7e

View File

@@ -436,6 +436,8 @@ private API::Node getNodeFromSubPath(API::Node base, AccessPath subPath, int n)
or
result =
getNodeFromSubPath(getNodeFromSubPath(base, subPath, n - 1), getSubPathAt(subPath, n - 1))
or
typeStep(getNodeFromSubPath(base, subPath, n), result)
}
/**