mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix wrong error with immutables when base contract c'tor uses return
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
contract Parent {
|
||||
constructor() {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
contract Child is Parent {
|
||||
uint public immutable baked = 123;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user