Skip to content

Commit

Permalink
Add case statement of MRB_TT_SCLASS in mrb_obj_is_kind_of()
Browse files Browse the repository at this point in the history
  • Loading branch information
remore committed Dec 16, 2015
1 parent f54a98f commit d69b5c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/object.c
Original file line number Diff line number Diff line change
Expand Up @@ -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_CLASS:
case MRB_TT_ICLASS:
case MRB_TT_SCLASS:
break;

default:
Expand Down

0 comments on commit d69b5c3

Please sign in to comment.