Add -no-dynamic-literals to disallow dynamic array and map literals

This commit is contained in:
gingerBill
2020-07-14 23:01:34 +01:00
parent b2beb9512f
commit 7ae54ae3b4
5 changed files with 46 additions and 25 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ Thread_Priority :: enum {
High,
}
_thread_priority_map := map[Thread_Priority]i32{
_thread_priority_map := [Thread_Priority]i32{
.Normal = 0,
.Low = -2,
.High = +2,