2018-05-30 16:41:34 +00:00
|
|
|
contract C {
|
|
|
|
string s;
|
2018-06-11 12:15:27 +00:00
|
|
|
function f() public { bytes1 a = s[2]; }
|
2018-05-30 16:41:34 +00:00
|
|
|
}
|
|
|
|
// ----
|
2020-06-19 00:26:46 +00:00
|
|
|
// TypeError 9961: (64-68): Index access for string is not possible.
|