cs: use any var in declaration statement fixed (IDEA-58344)

This commit is contained in:
anna
2010-10-26 12:19:37 +04:00
parent 84753ae74b
commit 0d47b0f720
4 changed files with 42 additions and 0 deletions
@@ -0,0 +1,14 @@
class C {
C(C c){}
}
class Usage {
void foo() {
C c1 = new C(null);
C c2 = new C(c1);
}
void bar() {
C c1 = new C(null), c2 = new C(c1);
}
}