The following compiles in 0.4.26, but not 0.5.0. The error is "Type contract CustList is not implicitly convertible to expected type address." I figure it's something with address payable, but I have tried ever casting permutation and can't get this to work in 0.5.0.
pragma solidity ^0.5.0;
contract CustTest {
mapping(address => address) public customers;
function createProfile()
public
{
customers[msg.sender] = new CustList();
}
}
contract CustList { uint x;}