new overload resolution: remember candidate when argument type is to be calculated (IDEA-137921)

This commit is contained in:
Anna Kozlova
2015-03-20 18:38:30 +01:00
parent f4cf2a934c
commit 858119b775
4 changed files with 60 additions and 42 deletions

View File

@@ -0,0 +1,9 @@
import java.lang.String;
abstract class Test {
abstract <T> T get();
void foo() {
String.valueOf(get());
}
}