X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.scl.compiler%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Finternal%2Fcodegen%2Ftypes%2FStandardTypeConstructor.java;h=bbcd370bbc19cef0401a155e44b9270b35ae9f88;hp=09923c3a52338f0740550429a4a856d0e65ea3ef;hb=a8758de5bc19e5adb3f618d3038743a164f09912;hpb=12d9af17384d960b75d58c3935d2b7b46d93e87b diff --git a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/codegen/types/StandardTypeConstructor.java b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/codegen/types/StandardTypeConstructor.java index 09923c3a5..bbcd370bb 100644 --- a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/codegen/types/StandardTypeConstructor.java +++ b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/codegen/types/StandardTypeConstructor.java @@ -3,6 +3,7 @@ package org.simantics.scl.compiler.internal.codegen.types; import org.cojen.classfile.TypeDesc; import org.simantics.scl.compiler.elaboration.modules.TypeConstructor; import org.simantics.scl.compiler.types.TCon; +import org.simantics.scl.compiler.types.TVar; import org.simantics.scl.compiler.types.Type; import org.simantics.scl.compiler.types.kinds.Kind; @@ -24,6 +25,11 @@ public class StandardTypeConstructor extends TypeConstructor { this.typeDesc = typeDesc; this.documentation = documentation; } + + public StandardTypeConstructor(TCon name, TVar[] parameters, TypeDesc typeDesc) { + super(name, parameters); + this.typeDesc = typeDesc; + } public void setTypeDesc(TypeDesc typeDesc) { this.typeDesc = typeDesc;