X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.scl.compiler%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ftypes%2FSkeletons.java;h=2b99c28a6a9c041177b793f411acdd3a1548758e;hb=4bb82aede02d798846196cc4f51e09d9f9161fef;hp=b7266ef7efb7514a6de9adadba17b2c65392af13;hpb=cb5fc8d606d8b322563e9345c441eecfa7f01753;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/types/Skeletons.java b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/types/Skeletons.java index b7266ef7e..2b99c28a6 100644 --- a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/types/Skeletons.java +++ b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/types/Skeletons.java @@ -17,7 +17,7 @@ public class Skeletons { if(metaVar.ref != null) type = metaVar.ref; else if(metaVar.skeletonRef != null) - type = metaVar.skeletonRef; + return metaVar.skeletonRef = canonicalSkeleton(metaVar.skeletonRef); else return metaVar; }