Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Refinement that includes itself does not work #4236
jruby 22.214.171.124 (2.3.1) 2016-09-07 036ce39 OpenJDK 64-Bit Server VM 25.72-b15 on 1.8.0_72-b15 +jit [OpenBSD-x86_64]
Also tested with 126.96.36.199 on Windows, same issue.
module S private def S(v) p v; end refine Object do include S end end using S S(1)
On ruby, prints 1.