mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
7 lines
203 B
Solidity
7 lines
203 B
Solidity
contract C {
|
|
string s;
|
|
function f() public { uint a = s.length; }
|
|
}
|
|
// ----
|
|
// TypeError: (62-70): Member "length" not found or not visible after argument-dependent lookup in string storage ref.
|