mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
LVTI: warnings for var as class name (IDEA-178868)
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
class Main {
|
||||
class <error descr="'var' is a restricted local variable type and cannot be used for type declarations">var</error> {}
|
||||
|
||||
<<error descr="'var' is a restricted local variable type and cannot be used for type declarations">var</error> extends String> void foo() {}
|
||||
}
|
||||
Reference in New Issue
Block a user