Print nil for nil procedures in fmt.odin

This commit is contained in:
gingerBill
2017-12-12 21:21:55 +00:00
parent f7e9649be4
commit 78b459590c
4 changed files with 31 additions and 38 deletions

View File

@@ -802,6 +802,7 @@ GB_COMPARE_PROC(entity_variable_pos_cmp) {
void check_scope_usage(Checker *c, Scope *scope) {
// TODO(bill): Use this?
#if 0
Array<Entity *> unused = {};
array_init(&unused, heap_allocator());
defer (array_free(&unused));
@@ -827,6 +828,7 @@ void check_scope_usage(Checker *c, Scope *scope) {
check_scope_usage(c, child);
}
}
#endif
}