Skip to content

Commit 0e4fc86

Browse files
committed
Fixed createReference to be relative to rootInstance
1 parent 63bd8aa commit 0e4fc86

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

subprojects/semantifyr/src/main/kotlin/utils/OxstsUtils.kt

+2
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ fun Instance.createReference(): List<ChainingExpression> {
106106
current = current.parent
107107
}
108108

109+
context.removeFirst() // remove rootInstance reference
110+
109111
return context
110112
}
111113

0 commit comments

Comments
 (0)