diff options
| author | Yong He <yonghe@outlook.com> | 2024-08-18 10:37:41 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-18 10:37:41 -0700 |
| commit | ca5d303748517889a5d5849224671fa8945e1c6d (patch) | |
| tree | f25395b3b7227be3abec2da89114f85498b5f644 /source | |
| parent | 25bc5a3ada5a2404f25ecf2de7d035ba60cd9fdf (diff) | |
Make sure to resolve overloaded expr for call args. (#4864)
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang/slang-check-expr.cpp | 2 |
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 |
