"Redundant SAM constructor": Fix highlighting range #KT-27034 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
487f500f85
commit
affa881421
@@ -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
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user