private
and private :foo
have different semantics when compiling to Java
#4469
Labels
Milestone
private
and private :foo
have different semantics when compiling to Java
#4469
Environment
Expected Behavior
should be compiled with
jrubyc --java
to the same Java as(The
foo?
method should not be generated in Java.)Actual Behavior
JRuby tries to compile the first example's
foo?
method to Java, which fails because -?
methods aren't supported in Java.The text was updated successfully, but these errors were encountered: