mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adding Stack Height Checker and modifying the number of POP instructions to appropriately provide the pointer address
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
contract C {
|
||||
function f (address) external returns (bool) {
|
||||
this.f{gas: 42}.address;
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6321: (56-60): Unnamed return variable can remain unassigned. Add an explicit return with value to all non-reverting code paths or name the variable.
|
||||
// Warning 2018: (17-102): Function state mutability can be restricted to view
|
||||
Reference in New Issue
Block a user