summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
authorydah <[email protected]>2025-06-15 21:09:34 +0900
committerYudai Takada <[email protected]>2025-06-15 22:35:26 +0900
commit251cfdfe22bf53e88a140f419d9db0be139ca68e (patch)
tree1c3c5c286366f8dbbf4536e2ba9cff02e6e9cbf8 /object.c
parentef66aef7912eb41c1d0d0733fe51375932e38a99 (diff)
Fix typo in rb_bug message for unreachable code
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13620
Diffstat (limited to 'object.c')
-rw-r--r--object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/object.c b/object.c
index 03474389fd..ae1a8aa406 100644
--- a/object.c
+++ b/object.c
@@ -378,7 +378,7 @@ init_copy(VALUE dest, VALUE obj)
RBASIC(dest)->flags |= RBASIC(obj)->flags & T_MASK;
switch (BUILTIN_TYPE(obj)) {
case T_IMEMO:
- rb_bug("Unreacheable");
+ rb_bug("Unreachable");
break;
case T_CLASS:
case T_MODULE: