mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix reads checks for immutable variables.
This commit is contained in:
@@ -8,5 +8,4 @@ contract C is B {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError 7484: (88-89): Immutable variables must be initialized in the constructor of the contract they are defined in.
|
||||
// TypeError 1574: (88-89): Immutable state variable already initialized.
|
||||
// TypeError 7484: (88-89): Cannot write to immutable here: Immutable variables must be initialized in the constructor of the contract they are defined in.
|
||||
|
||||
Reference in New Issue
Block a user