{.experimental: "notnil".}
type FooObj = object
foo: int
type Foo = ref FooObj not nil
var tbl: Table[string, Foo]
# ^ The Table[system.string, Foo not nil] not nil type doesn't have a default value. The following fields must be initialized: data.
tbl["a"] = Foo(foo: 1)