This commit is contained in:
Anna Kozlova
2014-04-17 15:48:31 +02:00
parent f1f6fcf53b
commit b49d8e753f
3 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
class Test {
Runnable r;
{ r = r::run; }
Runnable r1;
{ r1 = () -> r1.run(); }
{
Runnable r = () -> <error descr="Variable 'r' might not have been initialized">r</error>.run();
Runnable r1 = <error descr="Variable 'r1' might not have been initialized">r1</error>::run;
}
}