summaryrefslogtreecommitdiff
path: root/source/slang/slang-check-type.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-check-type.cpp')
-rw-r--r--source/slang/slang-check-type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-check-type.cpp b/source/slang/slang-check-type.cpp
index fd4c218fa..cee54388f 100644
--- a/source/slang/slang-check-type.cpp
+++ b/source/slang/slang-check-type.cpp
@@ -108,7 +108,7 @@ namespace Slang
{
return expr;
}
-
+
getSink()->diagnose(expr, Diagnostics::expectedAType, expr->type);
return CreateErrorExpr(expr);
}