From b8663a5d93e6e73d5e2d7e737cffd1efac055719 Mon Sep 17 00:00:00 2001 From: Yong He Date: Tue, 29 Jul 2025 19:26:52 -0700 Subject: Fix ICE when immutable value is passed to a bwd_diff function. (#7973) --- tests/diagnostics/methods/mutating-method-on-rvalue.slang.expected | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/diagnostics/methods') diff --git a/tests/diagnostics/methods/mutating-method-on-rvalue.slang.expected b/tests/diagnostics/methods/mutating-method-on-rvalue.slang.expected index d9694276b..066c8439d 100644 --- a/tests/diagnostics/methods/mutating-method-on-rvalue.slang.expected +++ b/tests/diagnostics/methods/mutating-method-on-rvalue.slang.expected @@ -7,7 +7,6 @@ tests/diagnostics/methods/mutating-method-on-rvalue.slang(13): note 30049: attem tests/diagnostics/methods/mutating-method-on-rvalue.slang(25): error 30050: mutating method 'increment' cannot be called on an immutable value gCounter.increment(); ^ -tests/diagnostics/methods/mutating-method-on-rvalue.slang(25): note 30049: attempting to assign to a const variable or immutable member; use '[mutating]' attribute on the containing method to allow modification } standard output = { } -- cgit v1.2.3