Override/Implement: Fix processing of unresolved types

#KT-17350 Fixed
This commit is contained in:
Alexey Sedunov
2018-06-08 16:34:48 +03:00
parent ed8b4b761a
commit 694997651a
8 changed files with 33 additions and 1 deletions
@@ -0,0 +1,8 @@
// DISABLE-ERRORS
interface A<in TPipeline, out TBuilder : Any, TFeature : Any> {
fun install(pipeline: TPipeline, configure: TBuilder.() -> Unit): TFeature
}
class X : A<String, UnresolvedType, Unit> {
<caret>
}
@@ -0,0 +1,10 @@
// DISABLE-ERRORS
interface A<in TPipeline, out TBuilder : Any, TFeature : Any> {
fun install(pipeline: TPipeline, configure: TBuilder.() -> Unit): TFeature
}
class X : A<String, UnresolvedType, Unit> {
override fun install(pipeline: String, configure: UnresolvedType.() -> Unit) {
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}