mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
257 B
Solidity
6 lines
257 B
Solidity
contract C { function f() public { var (x,y); x = 1; y = 1;} }
|
|
// ----
|
|
// Warning: (40-41): Use of the "var" keyword is deprecated.
|
|
// Warning: (42-43): Use of the "var" keyword is deprecated.
|
|
// TypeError: (35-44): Assignment necessary for type detection.
|