mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
don't allow calling private functions/methods
This commit is contained in:
@@ -33,7 +33,7 @@ mut:
|
||||
fn new_cgen(out_name_c string) *CGen {
|
||||
gen := &CGen {
|
||||
out_path: '$TmpPath/$out_name_c'
|
||||
out: os.create_file('$TmpPath/$out_name_c')
|
||||
out: os.create('$TmpPath/$out_name_c')
|
||||
}
|
||||
return gen
|
||||
}
|
||||
|
Reference in New Issue
Block a user