struct Example[T: AnyType]:
var data: T
fn __init__(inout self, info: T) -> None:
self.data = info
struct InheritedExample[T: Int](Example):
# The variable data and __init__ use T so it should be overwritten
# and prevent unnecessary boilerplate
pass
struct Example[T: AnyType]:
var data: T
fn __init__(inout self, info: T) -> None:
self.data = info
struct InheritedExample[T: Int](Example):
# The variable data and __init__ use T so it should be overwritten
# and prevent unnecessary boilerplate
pass