v/vlib/v/checker/tests/generics_struct_type_mismat...

12 lines
120 B
V

struct Example<T, V> {
key T
value V
}
fn main() {
example := Example<string>{
key: 'key'
value: 'value'
}
}