Commit 0720aac2 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #3050 from remore/fix-minor-bug-about-objectspace

Add case statement of MRB_TT_SCLASS in mrb_obj_is_kind_of()
parents f54a98ff d69b5c3f
...@@ -481,6 +481,7 @@ mrb_obj_is_kind_of(mrb_state *mrb, mrb_value obj, struct RClass *c) ...@@ -481,6 +481,7 @@ mrb_obj_is_kind_of(mrb_state *mrb, mrb_value obj, struct RClass *c)
case MRB_TT_MODULE: case MRB_TT_MODULE:
case MRB_TT_CLASS: case MRB_TT_CLASS:
case MRB_TT_ICLASS: case MRB_TT_ICLASS:
case MRB_TT_SCLASS:
break; break;
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment