IDEA-245337 'Change field type' for record component field does nothing

GitOrigin-RevId: be89f44adee20d7ca36c0705c35b6264b7189762
This commit is contained in:
Tagir Valeev
2020-07-07 05:55:20 +00:00
committed by intellij-monorepo-bot
parent dcf82455a6
commit 95f61a978b
6 changed files with 97 additions and 31 deletions
@@ -0,0 +1,7 @@
// "Change field 'x' type to 'byte'" "true"
record R(byte x) {
void test() {
byte b = x;
}
}
@@ -0,0 +1,11 @@
// "Change field 'x' type to 'byte'" "true"
record R(byte x) {
R(byte x) {
this.x = x;
}
void test() {
byte b = x;
}
}
@@ -0,0 +1,7 @@
// "Change field 'x' type to 'byte'" "true"
record R(int x) {
void test() {
byte b = <caret>x;
}
}
@@ -0,0 +1,11 @@
// "Change field 'x' type to 'byte'" "true"
record R(int x) {
R(int x) {
this.x = x;
}
void test() {
byte b = <caret>x;
}
}