mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Allow arrays of contract types as type expressions e.g. for abi.decode.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
contract C {
|
||||
function f() view public {
|
||||
C[0];
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6133: (52-56): Statement has no effect.
|
||||
// Warning 2018: (17-63): Function state mutability can be restricted to pure
|
||||
Reference in New Issue
Block a user