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=e515d1fda563f0fa3b8b71f9099696cf49a06d25;hp=b7266ef7efb7514a6de9adadba17b2c65392af13;hpb=ca40974f87c9db00eb77aaf1acc1e9937b37261b;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; }