summaryrefslogtreecommitdiffstats
path: root/source/slang/check.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/check.cpp')
-rw-r--r--source/slang/check.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/check.cpp b/source/slang/check.cpp
index 3c7bcaf84..c5ebf7f30 100644
--- a/source/slang/check.cpp
+++ b/source/slang/check.cpp
@@ -888,7 +888,7 @@ namespace Slang
{
if (diagSink)
{
- diagSink->diagnose(typeExp.exp.Ptr(), Diagnostics::unimplemented, "can't fill in default for generic type parameter");
+ diagSink->diagnose(typeExp.exp.Ptr(), Diagnostics::genericTypeNeedsArgs, typeExp);
*outProperType = getSession()->getErrorType();
}
return false;