Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/trivialFunctionalExpressionUsage/afterNameConflict.java
Tagir Valeev b3325f5116 Preserve code block when variable from lambda body conflicts with later declaration
Fixes IDEA-196540 TrivialFunctionalExpressionUsageInspection produces code with variable redefinitions
2018-08-01 20:52:34 +07:00

10 lines
130 B
Java

// "Replace call with method body" "true"
class Test {
void test() {
{
int a = 6;
}
int a =5;
}
}