mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove deprecated syntax from a test
This commit is contained in:
parent
07e862a145
commit
43ec1699ba
@ -2894,7 +2894,7 @@ BOOST_AUTO_TEST_CASE(dynamic_return_types_not_possible)
|
||||
contract C {
|
||||
function f(uint) public returns (string);
|
||||
function g() public {
|
||||
var (x,) = this.f(2);
|
||||
var x = this.f(2);
|
||||
// we can assign to x but it is not usable.
|
||||
bytes(x).length;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user