v/vlib/v/checker/tests/generics_type_ambiguous.vv

8 lines
103 B
V
Raw Normal View History

2021-04-02 16:27:54 +02:00
fn test<T, B> (a T, b T, c B, d B) {
println("$a $b $c $d")
}
fn main() {
test(2, 2, "2", 2)
}