Disallow proc() do stmt and only allow proc() { stmt }

This commit is contained in:
gingerBill
2022-07-18 15:09:04 +01:00
parent 6c7e5748a8
commit 22a0c3fce1
2 changed files with 2 additions and 6 deletions
+1 -1
View File
@@ -45,4 +45,4 @@ ERROR_NOT_SAME_OBJECT : DWORD : 1656
E_NOTIMPL :: HRESULT(-0x7fff_bfff) // 0x8000_4001
SUCCEEDED :: #force_inline proc(#any_int result: int) -> bool do return result >= 0
SUCCEEDED :: #force_inline proc(#any_int result: int) -> bool { return result >= 0 }