diff --git a/compiler/parser.v b/compiler/parser.v index 0d09e1dfac..83cea84575 100644 --- a/compiler/parser.v +++ b/compiler/parser.v @@ -1068,7 +1068,7 @@ fn (p mut Parser) close_scope() { break } // Clean up memory, only do this for V compiler for now - $if !windows { + if p.os != .windows { if p.pref.building_v && v.is_alloc && !p.pref.is_test { mut free_fn := 'free' if v.typ.starts_with('array_') {