"Initialize variable" leads to an exception on invalid code IDEA-181272

This commit is contained in:
Dmitry Batkovich
2017-10-27 15:48:37 +03:00
parent dc5e15993a
commit 6e2c225c5e
4 changed files with 20 additions and 22 deletions

View File

@@ -0,0 +1,5 @@
// "Initialize variable 'X'" "true"
interface Foo {
char X = 0;
int a = X;
}

View File

@@ -0,0 +1,5 @@
// "Initialize variable 'X'" "true"
interface Foo {
char X.Y;
int a = <caret>X;
}