summaryrefslogtreecommitdiff
path: root/source/slang
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang')
-rw-r--r--source/slang/slang-check-expr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-check-expr.cpp b/source/slang/slang-check-expr.cpp
index 561d17c00..965d25bd5 100644
--- a/source/slang/slang-check-expr.cpp
+++ b/source/slang/slang-check-expr.cpp
@@ -2652,7 +2652,7 @@ namespace Slang
// Next check the argument expressions
for (auto & arg : expr->arguments)
{
- arg = CheckTerm(arg);
+ arg = CheckExpr(arg);
}
// if the expression is '&&' or '||', we will convert it