Skip to content

Commit 2320701

Browse files
committed
fix(model-api-gen): ITypedNode.getPropertyValue always returned null
1 parent 623ecef commit 2320701

File tree

1 file changed

+1
-1
lines changed
  • model-api-gen-runtime/src/commonMain/kotlin/org/modelix/metamodel

1 file changed

+1
-1
lines changed

model-api-gen-runtime/src/commonMain/kotlin/org/modelix/metamodel/ITypedNode.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ interface ITypedNode {
1515
fun ITypedNode.untyped() = unwrap()
1616
fun ITypedNode.untypedConcept() = _concept.untyped()
1717
fun ITypedNode.typedConcept() = _concept
18-
fun ITypedNode.getPropertyValue(property: IProperty): String? = unwrap().getPropertyValue(property.name)
18+
fun ITypedNode.getPropertyValue(property: IProperty): String? = unwrap().getPropertyValue(property)
1919
fun ITypedNode.instanceOf(concept: ITypedConcept): Boolean {
2020
return instanceOf(concept._concept)
2121
}

0 commit comments

Comments
 (0)