« Previous | Next » 

Revision 51673

  • insns.def (defineclass): introduce an ad-hoc patch to avoid an issue reported on [Bug #10871].

This patch does not fix completely. For example, method definition
in a block (like 1.times{def ...; end}) still causes same issue.
To solve all, we need a huge patch and it seems difficult for
stable branch.

Use Ruby 2.3 and later to solve this issue completely.
(See [Bug #10943])