crystal
crystal copied to clipboard
Classes using 'extend Module' appearing in Module.includers list
Hello, is this a bug?
module M
end
class X
extend M
end
{% for e in M.includers %}
{% puts e %} # ==> prints "X.class"
{% end %}
https://carc.in/#/r/a69r
(If so, the fix should probably include adding a new directive to macros which would purposely list the ones using extend.)