Thu Mar 30 2023 11:44:30 GMT+0000 (Coordinated Universal Time)
Saved by @RareSkills
contract ExampleContract { string immutable public name; constructor(string memory _name) { name = _name; } // ERROR: Cannot compile function cannotChangeTheName(string calldata _newName) external { name = _newName; } }
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments