"Redundant SAM constructor": Fix highlighting range #KT-27034 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-09-25 11:14:09 +09:00
committed by Mikhail Glukhikh
parent 487f500f85
commit affa881421
7 changed files with 42 additions and 1 deletions
@@ -0,0 +1,7 @@
public interface Foo {
boolean foo();
class Bar {
void bar(Foo foo) {}
}
}
@@ -0,0 +1,5 @@
fun test() {
Foo.Bar().bar(Foo<caret> {
true
})
}
@@ -0,0 +1,5 @@
fun test() {
Foo.Bar().bar({
true
})
}
@@ -0,0 +1,7 @@
public interface Foo {
boolean foo();
class Bar {
void bar(Foo foo) {}
}
}
@@ -0,0 +1,6 @@
// PROBLEM: none
fun test() {
Foo.Bar().bar(Foo <caret>{
true
})
}