summaryrefslogtreecommitdiff
path: root/symbol.c
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2024-04-05 16:14:45 -0400
committerPeter Zhu <[email protected]>2024-04-05 16:15:48 -0400
commit43dcf4d1a6e301bc40adcbc5a3831180cec23695 ()
tree8a8877de06e071e57b5e39ad7e84a6b1a276bb6a /symbol.c
parenta80e8ba1c4c0fc802acb21279a72fdb78abe9364 (diff)
Assert correct types in get_id_serial_entry
-rw-r--r--symbol.c13
1 files changed, 13 insertions, 0 deletions
@@ -481,6 +481,19 @@ get_id_serial_entry(rb_id_serial_t num, ID id, const enum id_entry_type t)
}
GLOBAL_SYMBOLS_LEAVE();
return result;
}