From 4fb3b10b81cf8c976ebd1ebb7fcde7708f022957 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 29 Nov 2023 11:29:14 -0800 Subject: Improve generic type argument inference. (#3370) * Improve generic type argument inference. * Fix. * Fix. --------- Co-authored-by: Yong He --- tests/diagnostics/bad-operator-call.slang | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/diagnostics') 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, vector) d = c + d; -} \ No newline at end of file +} -- cgit v1.2.3