I wrote the following, which compiles in truffle just fine, but will not deploy. I get the error "components found but type is not tuple; report on GitHub." Am I doing something wrong appending to a struct array?
pragma solidity ^0.5.0;
contract Sandbox {
struct Leader {
address host;
uint fitness;
}
Leader[] public myList;
function append(uint value) public {
Leader memory leader = Leader(msg.sender, value);
myList.push(leader);
}
}