Browse Source

Correct `iterate_map`

gingerBill 2 years ago
parent
commit
7b4a87d37c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/reflect/iterator.odin

+ 1 - 1
core/reflect/iterator.odin

@@ -67,7 +67,7 @@ iterate_map :: proc(val: any, it: ^int) -> (key, value: any, ok: bool) {
 				key.id     = info.key.id
 				key.id     = info.key.id
 				value.id   = info.value.id
 				value.id   = info.value.id
 				ok = true
 				ok = true
-				return
+				break
 			}
 			}
 
 
 		}
 		}