Gitly
English
Русский
Español
日本語
中文
Português
Pricing
Log in
Register
v4
/
vlib
/
v
/
checker
/
tests
/
decompose_interface_err.vv
19
lines
·
15
sloc
·
220 bytes
·
3f76b691651a08d54d60344af18474b406377a3c
Raw
1
module main
2
3
import arrays
4
5
interface Value {}
6
7
fn some_function(values ...Value) {
8
println(values)
9
}
10
11
fn main() {
12
country_ids := [
13
'AD',
14
'AE',
15
'AF',
16
]
17
region_id := 'something'
18
some_function(...country_ids)
19
}
20