diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lj_crecord.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_crecord.c b/src/lj_crecord.c index 85362ea5..4adfefe6 100644 --- a/src/lj_crecord.c +++ b/src/lj_crecord.c | |||
| @@ -811,6 +811,8 @@ again: | |||
| 811 | } | 811 | } |
| 812 | J->base[0] = lj_ir_kint(J, (int32_t)fct->size); | 812 | J->base[0] = lj_ir_kint(J, (int32_t)fct->size); |
| 813 | return; /* Interpreter will throw for newindex. */ | 813 | return; /* Interpreter will throw for newindex. */ |
| 814 | } else if (cd && cd->ctypeid == CTID_CTYPEID) { | ||
| 815 | /* Only resolve constants and metamethods for constructors. */ | ||
| 814 | } else if (ctype_isbitfield(fct->info)) { | 816 | } else if (ctype_isbitfield(fct->info)) { |
| 815 | lj_trace_err(J, LJ_TRERR_NYICONV); | 817 | lj_trace_err(J, LJ_TRERR_NYICONV); |
| 816 | } else { | 818 | } else { |
