Fix let implement quickfix label for object expressions

Fixes #KT-11782
This commit is contained in:
Kirill Rakhman
2016-04-06 23:03:31 +02:00
committed by Mikhail Glukhikh
parent cdab9d5103
commit da5c963a43
4 changed files with 32 additions and 2 deletions
@@ -0,0 +1,11 @@
// "Let the anonymous object implement interface 'A'" "true"
package let.implement
fun bar() {
foo(<caret>object {})
}
fun foo(a: A) {
}
interface A
@@ -0,0 +1,11 @@
// "Let the anonymous object implement interface 'A'" "true"
package let.implement
fun bar() {
foo(<caret>object : A {})
}
fun foo(a: A) {
}
interface A