mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: free local_vars
This commit is contained in:
@ -18,6 +18,9 @@ pub:
|
||||
|
||||
// Private function, used by V (`nums := []int`)
|
||||
fn new_array(mylen, cap, elm_size int) array {
|
||||
a := 3
|
||||
_ := a
|
||||
//println(a)
|
||||
arr := array {
|
||||
len: mylen
|
||||
cap: cap
|
||||
|
Reference in New Issue
Block a user