wrapper non-generic interface for Foo class?
type Foo<‘T> = class end
type Bar =
{
Items: Foo<_> list // Anonymous type variable error :(
}
In .net type system you could use Foo<object>. Every field in conrete type has to be concrete as well. Your record is not generic, so it could not have open generic fields
Обсуждают сегодня