summaryrefslogtreecommitdiff
path: root/source/slang/slang-check.cpp
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2020-02-18 19:13:02 -0500
committerGitHub <noreply@github.com>2020-02-18 19:13:02 -0500
commit45d1a680634c59d1081ed09dddaa444695296492 (patch)
treeaf803579f32d1592a297d70e41f848184dea93ea /source/slang/slang-check.cpp
parent8ee39e08c48a315163fe1850dbb12ca292020d4d (diff)
Added support for Targets to TypeTextUtil. (#1226)
* Added support for Targets to TypeTextUtil. * Made Function names 'get' and 'find' instead of 'as' in TypeTextUtil.
Diffstat (limited to 'source/slang/slang-check.cpp')
-rw-r--r--source/slang/slang-check.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-check.cpp b/source/slang/slang-check.cpp
index 77e3ffc9f..990f9a0f5 100644
--- a/source/slang/slang-check.cpp
+++ b/source/slang/slang-check.cpp
@@ -182,7 +182,7 @@ namespace Slang
SlangFuncPtr func = sharedLibrary->findFuncByName(info.name);
if (!func)
{
- UnownedStringSlice compilerName = TypeTextUtil::asText(SlangPassThrough(info.compilerType));
+ UnownedStringSlice compilerName = TypeTextUtil::getPassThroughName(SlangPassThrough(info.compilerType));
sink->diagnose(SourceLoc(), Diagnostics::failedToFindFunctionForCompiler, info.name, compilerName);
return nullptr;
}