mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
IDEA-245337 'Change field type' for record component field does nothing
GitOrigin-RevId: be89f44adee20d7ca36c0705c35b6264b7189762
This commit is contained in:
committed by
intellij-monorepo-bot
parent
dcf82455a6
commit
95f61a978b
+7
@@ -0,0 +1,7 @@
|
||||
// "Change field 'x' type to 'byte'" "true"
|
||||
|
||||
record R(byte x) {
|
||||
void test() {
|
||||
byte b = x;
|
||||
}
|
||||
}
|
||||
+11
@@ -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;
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// "Change field 'x' type to 'byte'" "true"
|
||||
|
||||
record R(int x) {
|
||||
void test() {
|
||||
byte b = <caret>x;
|
||||
}
|
||||
}
|
||||
+11
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user