summaryrefslogtreecommitdiffstats
path: root/source/slang/emit.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2017-11-01 13:16:26 -0400
committerYong He <yonghe@outlook.com>2017-11-01 13:16:26 -0400
commit134354c68768c0e3530c02678e12cb02f5646e8a (patch)
tree20a9ae10db6790ddc5032315b85efd94fc672cff /source/slang/emit.cpp
parentb623864fe609e6912cdd2e350aa70cf7e441e1d3 (diff)
Adding support for associated types.
Diffstat (limited to 'source/slang/emit.cpp')
-rw-r--r--source/slang/emit.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/slang/emit.cpp b/source/slang/emit.cpp
index 3454a3f85..9caad2e1a 100644
--- a/source/slang/emit.cpp
+++ b/source/slang/emit.cpp
@@ -1054,7 +1054,11 @@ struct EmitVisitor
void visitAssocTypeDeclRefType(AssocTypeDeclRefType* /*type*/, TypeEmitArg const& /*arg*/)
{
- SLANG_UNREACHABLE("visitAssocTypeDeclRefType in EmitVisitor");
+ //SLANG_UNREACHABLE("visitAssocTypeDeclRefType in EmitVisitor");
+ }
+ void visitGenericConstraintDeclRefType(GenericConstraintDeclRefType* /*type*/, TypeEmitArg const& /*arg*/)
+ {
+ //SLANG_UNREACHABLE("visitGenericConstraintDeclRefType in EmitVisitor");
}
void visitBasicExpressionType(BasicExpressionType* basicType, TypeEmitArg const& arg)