mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Implement new with CREATE2 and function call options.
This commit is contained in:
committed by
chriseth
parent
679f729f2f
commit
a3f23d3158
@@ -0,0 +1,8 @@
|
||||
contract D {}
|
||||
contract C {
|
||||
function foo(int a) pure internal {
|
||||
foo{gas: 5};
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (75-86): Function call options can only be set on external function calls or contract creations.
|
||||
Reference in New Issue
Block a user