mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 21:11:28 +07:00
testdata for IDEA-90998
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class Test1 {
|
||||
{
|
||||
Runnable r = () -> { <error descr="Variable 'r' might not have been initialized">r</error>.run(); };
|
||||
}
|
||||
}
|
||||
@@ -128,6 +128,10 @@ public class LambdaHighlightingTest extends LightDaemonAnalyzerTestCase {
|
||||
public void testIncompleteSubst() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testVariableInitialization() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
private void doTest() throws Exception {
|
||||
doTest(BASE_PATH + "/" + getTestName(false) + ".java", false, false);
|
||||
|
||||
Reference in New Issue
Block a user