KT-38003 works for Java implementations too
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class JavaClass implements I {
|
||||
public void foo(Object p) {
|
||||
System.out.println(p);
|
||||
}
|
||||
}
|
||||
@@ -6,7 +6,7 @@ interface I {
|
||||
|
||||
class C : I {
|
||||
override fun foo(p: Any) {
|
||||
println(p)
|
||||
println(p) // this usage will be shown twice due to bug in Java implementation: https://youtrack.jetbrains.com/issue/IDEA-236958
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
14 i.foo(<bold>s</bold>)
|
||||
4 fun foo(<bold>p: Any</bold>)
|
||||
2 public void foo(Object <bold>p</bold>) {
|
||||
3 System.out.println(<bold>p</bold>);
|
||||
9 println(<bold>p</bold>) // this usage will be shown twice due to bug in Java implementation: https://youtrack.jetbrains.com/issue/IDEA-236958
|
||||
8 override fun foo(<bold>p: Any</bold>) {
|
||||
9 println(<bold>p</bold>)
|
||||
9 DUPLICATE: println(<bold>p</bold>) // this usage will be shown twice due to bug in Java implementation: https://youtrack.jetbrains.com/issue/IDEA-236958
|
||||
|
||||
Reference in New Issue
Block a user