Currently causes segfaults in the current situation:
module M;end
module N; include M; end
class C; real_include N; end
why? Cos the ICLASS of M in N is missing a singleton class, and its klass is the actual module M which is probably causing difficulties with real_include which assumes that the klass pointer is a singleton, not an actual module
done. Patched Module#include -- so include works on modules that have real_included; also patched real_include so it works on modules that have Module#included, see version 0.1.9
Currently causes segfaults in the current situation:
why? Cos the ICLASS of
M
inN
is missing a singleton class, and its klass is the actual moduleM
which is probably causing difficulties with real_include which assumes that the klass pointer is a singleton, not an actual module