Compiler: Fix empty return compound codegen

This commit is contained in:
Krzosa Karol
2023-04-21 09:06:48 +02:00
parent 3207a390c8
commit 1e12f51451
5 changed files with 16 additions and 7 deletions

View File

@@ -85,7 +85,7 @@ GetRandomUnblockedP :: (m: *Map): V2I
return p
Assert(false, "Invalid codepath")
r: V2I; return r
return {}
Init :: ()
CurrentMap.x = WinX / RectX