Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace assert with RUBY_ASSERT in weakmap.c
assert does not print the bug report, only the file and line number of the assertion that failed. RUBY_ASSERT prints the full bug report, which makes it much easier to debug.
- Loading branch information
1 parent
80700f4
commit 0536b2c
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters