diff options
| author | Yong He <yonghe@outlook.com> | 2023-11-29 11:29:14 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-29 11:29:14 -0800 |
| commit | 4fb3b10b81cf8c976ebd1ebb7fcde7708f022957 (patch) | |
| tree | 394a08e5b744fa85ac98c0b8758e994b0aab3a34 /tests/diagnostics | |
| parent | 62426e94ef11fd6baa213757f87114ec174b406e (diff) | |
Improve generic type argument inference. (#3370)
* Improve generic type argument inference.
* Fix.
* Fix.
---------
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tests/diagnostics')
| -rw-r--r-- | tests/diagnostics/bad-operator-call.slang | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/diagnostics/bad-operator-call.slang b/tests/diagnostics/bad-operator-call.slang index 2764d27ae..2e0a196a2 100644 --- a/tests/diagnostics/bad-operator-call.slang +++ b/tests/diagnostics/bad-operator-call.slang @@ -14,7 +14,7 @@ void test() { int a; S b; - // CHECK:{{.*}}.slang(18): error {{.*}}: no overload for '+=' applicable to arguments of type (int, S) + // CHECK:{{.*}}.slang(18): error {{.*}}: a += b; // CHECK:{{.*}}.slang(20): error {{.*}}: no overload for '+' applicable to arguments of type (int, S) a = a + b; @@ -31,4 +31,4 @@ void test() d += c; // CHECK:{{.*}}.slang(33): error {{.*}}: no overload for '+' applicable to arguments of type (vector<int,4>, vector<float,3>) d = c + d; -}
\ No newline at end of file +} |
