summaryrefslogtreecommitdiffstats
path: root/source/slang/syntax.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/syntax.cpp')
-rw-r--r--source/slang/syntax.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/slang/syntax.cpp b/source/slang/syntax.cpp
index ab4a5f94c..3bccf51ce 100644
--- a/source/slang/syntax.cpp
+++ b/source/slang/syntax.cpp
@@ -856,7 +856,12 @@ void Type::accept(IValVisitor* visitor, void* extra)
Type* ErrorType::CreateCanonicalType()
{
- return this;
+ return this;
+ }
+
+ RefPtr<Val> ErrorType::SubstituteImpl(SubstitutionSet /*subst*/, int* /*ioDiff*/)
+ {
+ return this;
}
int ErrorType::GetHashCode()