singleton-compile.c.patch
| b/compile.c | ||
|---|---|---|
| 4666 | 4666 |
case NODE_SCLASS:{
|
| 4667 | 4667 |
ID singletonclass; |
| 4668 | 4668 |
VALUE iseqval = |
| 4669 |
NEW_ISEQVAL(node->nd_body, rb_str_new2("singletonclass"),
|
|
| 4669 |
NEW_ISEQVAL(node->nd_body, rb_str_new2("singleton class"),
|
|
| 4670 | 4670 |
ISEQ_TYPE_CLASS, nd_line(node)); |
| 4671 | 4671 | |
| 4672 | 4672 |
COMPILE(ret, "sclass#recv", node->nd_recv); |