mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
28 lines
322 B
V
28 lines
322 B
V
struct App {
|
|
}
|
|
|
|
['foo/bar/three']
|
|
fn (mut app App) run() {
|
|
}
|
|
|
|
['attr2']
|
|
fn (mut app App) method2() {
|
|
}
|
|
|
|
fn test_comptime_for() {
|
|
/*
|
|
app := App{}
|
|
|
|
$for method in App { //.method_attrs {
|
|
words := attrs.split('/')
|
|
println(words)
|
|
//println(method.value)
|
|
}
|
|
assert true
|
|
println('DONE')
|
|
*/
|
|
if true {}
|
|
//
|
|
else{}
|
|
}
|