]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling/scl/Simantics/Query.scl
(refs #7621) Fixed handling of $ in application ignoring return value
[simantics/platform.git] / bundles / org.simantics.modeling / scl / Simantics / Query.scl
index d2809ff65d51219dd8a15c4f1cb3ea1fd0347988..7e0aeb77b647bda42bcd83d5c5aa5769b4a8869f 100644 (file)
@@ -37,7 +37,7 @@ createSCLQueryType library name = do
     queryType = newResource ()
     claim queryType L0.Inherits MOD.SCLQuery
     claimRelatedValue queryType L0.HasName name
-    claimAssertion MOD.SCLQuery.values $ createSCLValueIndependent MOD.SCLQuery.Value "[]"
+    claimAssertion queryType MOD.SCLQuery.values $ createSCLValueIndependent MOD.SCLQuery.Value "[]"
     claim queryType L0.PartOf library
     addCommentMetadata ("Created SCL Query Type " + name)
     queryType