You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "main" java.lang.NoSuchMethodException:Reflect$package$$anon$1.bar(Foo)
at java.lang.Class.getMethod(Class.java:1786)
at scala.reflect.Selectable.applyDynamic(Selectable.scala:38)
at scala.reflect.Selectable.applyDynamic$(Selectable.scala:11)
at Reflective.applyDynamic(Reflect.scala:2)
at Reflect$package$.run(Reflect.scala:8)
at run.main(Reflect.scala:4)
Expectation
No exception should be thrown.
This is related to #14340 (with fix available here #16286) but the problem here is in the parameters of methods rather than in returned values