//Write your own contracts here. Currently compiles using solc v0.4.15+commit.bbb8e64f. pragma solidity ^0.4.18; contract SimpleStore { function set(uint _value) public { value = _value; } function get() public constant returns (uint) { return value; } function remove(uint _id) external { Animal[] memory copy; uint i; for (; i < animals.length; i++) { if (_id != i) { copy.push(animals[i]); } } animals = copy; } uint value; } TypeError: Member "push" is not available in struct Spa.Animal[] memory outside of storage. --> contracts/SPA.sol:51:17: | 51 | copy.push(animals[i]); | ^^^^^^^^^ Error HH600: Compilation failed
0.4.18