summaryrefslogtreecommitdiff
path: root/source/slang/lower.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/lower.cpp')
-rw-r--r--source/slang/lower.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/slang/lower.cpp b/source/slang/lower.cpp
index 776a55530..b810d9643 100644
--- a/source/slang/lower.cpp
+++ b/source/slang/lower.cpp
@@ -779,6 +779,13 @@ struct LoweringVisitor
translateDeclRef(DeclRef<Decl>(type->declRef)).As<TypeDefDecl>());
}
+ RefPtr<Type> visitGenericConstraintDeclRefType(GenericConstraintDeclRefType* type)
+ {
+ // not supported by lowering
+ SLANG_UNREACHABLE("visitGenericConstraintDeclRefType in LowerVisitor");
+ return nullptr;
+ }
+
RefPtr<Type> visitAssocTypeDeclRefType(AssocTypeDeclRefType* type)
{
// not supported by lowering