solang
solang copied to clipboard
[ICE]: The array contains a function type variable, which causes a compilation error.
Version: v0.3.3: Atlantis
contract FunctionArray {
function(uint256) external returns (uint256)[] public functionArray;
}
solang compile --target solana test.sol
thread 'main' panicked at 'internal error: entered unreachable code: Type should not be in the IDL', src/abi/anchor.rs:439:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace