You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code triggers the exception shown bellow. I tested this locally with compiler version 0.8.23 and later I tested on remix for older versions. I found that the problem starts to appear with version 0.8.20 (just like with issue #14791).
Steps to Reproduce
testcase.sol
// SPDX-License-Identifier: GPL-3.0pragma solidity=0.8.23;
contractC {
mapping(bytes14=>bytes15) internal v;
function f() publicpayable {
delete v["A"];
// delete v[bytes14("A")]; // this is ok// v["A"]; // this is ok
}
}
Description
The following code triggers the exception shown bellow. I tested this locally with compiler version
0.8.23
and later I tested on remix for older versions. I found that the problem starts to appear with version0.8.20
(just like with issue #14791).Steps to Reproduce
testcase.sol
Environment
>=0.8.20
The text was updated successfully, but these errors were encountered: