FunctionType: Return correct stacksize for transfer/send

This commit is contained in:
Mathias Baumann
2019-08-01 13:56:09 +02:00
parent 092e62f1c9
commit e887c06f6b
2 changed files with 14 additions and 0 deletions
@@ -0,0 +1,12 @@
contract TransferTest {
function() external payable {
// This used to cause an ICE
address(this).transfer;
}
function f() pure public {}
}
// ====
// compileViaYul: also
// ----
// f() ->