diff options
| author | Yong He <yonghe@outlook.com> | 2017-11-01 13:16:26 -0400 |
|---|---|---|
| committer | Yong He <yonghe@outlook.com> | 2017-11-01 13:16:26 -0400 |
| commit | 134354c68768c0e3530c02678e12cb02f5646e8a (patch) | |
| tree | 20a9ae10db6790ddc5032315b85efd94fc672cff /source/slang/lower.cpp | |
| parent | b623864fe609e6912cdd2e350aa70cf7e441e1d3 (diff) | |
Adding support for associated types.
Diffstat (limited to 'source/slang/lower.cpp')
| -rw-r--r-- | source/slang/lower.cpp | 7 |
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 |
