mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: use cur_mode ast.Module
instead of a string
This commit is contained in:
@ -77,7 +77,6 @@ pub fn (mut f File) write_string(s string) ?int {
|
||||
return written
|
||||
}
|
||||
|
||||
|
||||
// write_to implements the RandomWriter interface
|
||||
pub fn (mut f File) write_to(pos int, buf []byte) ?int {
|
||||
C.fseek(f.cfile, pos, C.SEEK_SET)
|
||||
|
Reference in New Issue
Block a user