disable lambda -> meth ref if qualifier is not pure (IDEA-139825)

This commit is contained in:
Anna Kozlova
2015-08-26 16:08:00 +03:00
parent 624c0169d4
commit 6144008d26
2 changed files with 30 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
// "Replace lambda with method reference" "false"
class Example {
static Runnable runner;
public static void main(String[] args) {
lambda = () -> runn<caret>er.run();
}
}