mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parser: cached tokens (second step)
This commit is contained in:
@ -1,9 +1,11 @@
|
||||
struct Foo {
|
||||
a int
|
||||
number int
|
||||
str string
|
||||
f f64
|
||||
}
|
||||
|
||||
fn test_array_str() {
|
||||
f := Foo{34}
|
||||
f := Foo{34, 'hello', 1.2}
|
||||
println(f)
|
||||
//s := f.str()
|
||||
//println(s)
|
||||
|
Reference in New Issue
Block a user