include all constructor candidates to calculate change signature fix (IDEA-128891)

This commit is contained in:
Anna Kozlova
2016-05-11 18:08:55 +02:00
parent 5af3061c51
commit 1782d678a7
3 changed files with 23 additions and 1 deletions
@@ -0,0 +1,9 @@
// "<html> Change signature of X(<b>String</b>)</html>" "true"
class X {
X(Integer i) {}
X(String s) {}
public static void main(String[] args) {
new X("");
}
}
@@ -0,0 +1,9 @@
// "<html> Change signature of X(<b>String</b>)</html>" "true"
class X {
X(Integer i) {}
X() {}
public static void main(String[] args) {
new X("<caret>");
}
}