mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
cgen: fix missing line breaks in generated code with closure IIFE, when compiled with '-g' (fix #20306) (#20316)
This commit is contained in:
parent
969402461f
commit
cc250baf3c
3 changed files with 8 additions and 5 deletions
|
@ -16,7 +16,7 @@ import sokol.gfx
|
|||
import sokol.sgl
|
||||
import sokol.sapp
|
||||
import stbi
|
||||
import szip
|
||||
import compress.szip
|
||||
import strings
|
||||
|
||||
// Help text
|
||||
|
@ -801,10 +801,10 @@ fn main() {
|
|||
|
||||
// App init
|
||||
mut app := &App{
|
||||
gg: 0
|
||||
gg: unsafe { nil }
|
||||
// zip fields
|
||||
zip: 0
|
||||
item_list: 0
|
||||
zip: unsafe { nil }
|
||||
item_list: unsafe { nil }
|
||||
}
|
||||
|
||||
app.state = .scanning
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue