change signature: propagate parameters change to lambda expressions (IDEA-150138)

This commit is contained in:
Anna Kozlova
2016-01-13 16:54:58 +01:00
parent ef59b92a12
commit b56e7e0c20
10 changed files with 131 additions and 45 deletions
@@ -0,0 +1,11 @@
interface SAM {
void foo(boolean b);
}
class Test {
{
bar((boolean b) -> {});
}
void bar(SAM sam){}
}
@@ -0,0 +1,9 @@
interface SAM {
void foo(boolean b);
}
class Test {
{
SAM sam = (boolean b) -> {};
}
}