If my contract has struct A, struct B where one field is A, and an array of B, it can not be compiled with an error UnimplementedFeatureError: Only in-memory reference type can be stored.
contract ArrayOfNestedStructTest {
struct A {
uint a;
}
struct B {
A b;
}
B[] public bArr;
}
solc version: up to 0.4.21-nightly.2018.2.16+commit.3f7e82d0.Emscripten.clang
Expected: this contract should be compiled without errors and warnings.