lambda: check parameters if they use free names (IDEA-91502)

This commit is contained in:
Anna Kozlova
2012-09-13 17:14:33 +04:00
parent c87eabd222
commit 5a6fdedb9a
3 changed files with 12 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
class Test {
{
Object o = null;
Comparable<String> c = <error descr="Variable 'o' is already defined in the scope">o</error> -> 42;
}
}