diff options
| author | Yong He <yonghe@outlook.com> | 2025-07-29 19:26:52 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-29 19:26:52 -0700 |
| commit | b8663a5d93e6e73d5e2d7e737cffd1efac055719 (patch) | |
| tree | 21eedc0d19065306eb4de7e1be8d00d1045ee032 /tests/diagnostics/methods | |
| parent | 48efc60380aa79e8c4aba13976cc2015f38a659e (diff) | |
Fix ICE when immutable value is passed to a bwd_diff function. (#7973)
Diffstat (limited to 'tests/diagnostics/methods')
| -rw-r--r-- | tests/diagnostics/methods/mutating-method-on-rvalue.slang.expected | 1 |
1 files changed, 0 insertions, 1 deletions
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 = { } |
