class Foo<T:EnumValue = Void> { public var data:T; public final function new() {} } function main() {}