Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
CLONE - "Ambiguous reference to overloaded definition"... not ambiguous to Java, only to Scala #10219
But the corresponding Java program
edit: as pointed out by andrew (comment below), javac picks the first alternative in both cases.
prints (when running):
(Assuming that X.class and Y.class already exist from compiling the Scala example.)
This is a PITA because X and Y, in my case, are JPA APIs, which I use a lot.
Imported From: https://issues.scala-lang.org/browse/SI-10219?orig=1