diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-08-14 13:16:34 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-08-14 13:16:34 +0900 |
| commit | 7d02df3016b0c6eb3f4ee945198772cf4ebca3fa (patch) | |
| tree | af4c35ee567e9be3e2ef6ca0c34dbd10440550bc /src/variable.c | |
| parent | e74600c919cdadab1b4e605e50181f8cdafe7ab3 (diff) | |
| download | mruby-7d02df3016b0c6eb3f4ee945198772cf4ebca3fa.tar.gz mruby-7d02df3016b0c6eb3f4ee945198772cf4ebca3fa.zip | |
NaN boxing
Diffstat (limited to 'src/variable.c')
| -rw-r--r-- | src/variable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/variable.c b/src/variable.c index 618e8cb89..9b233cde8 100644 --- a/src/variable.c +++ b/src/variable.c @@ -677,7 +677,7 @@ mrb_const_defined(mrb_state *mrb, mrb_value mod, mrb_sym sym) static void mod_const_check(mrb_state *mrb, mrb_value mod) { - switch (mod.tt) { + switch (mrb_type(mod)) { case MRB_TT_CLASS: case MRB_TT_MODULE: break; |
