提交 652b9e78 编写于 作者: N Nikolay Krasko

Tests for KT-1888

 #KT-1888 fixed
上级 f02559af
trait A {
fun String.foo()
}
class B : A {
<caret>
}
\ No newline at end of file
trait A {
fun String.foo()
}
class B : A {
override fun String.foo() {
throw UnsupportedOperationException()
}
}
\ No newline at end of file
trait A {
val String.prop : Int
}
class B : A {
<caret>
}
\ No newline at end of file
trait A {
val String.prop : Int
}
class B : A {
override val String.prop : Int = 0
}
\ No newline at end of file
......@@ -115,6 +115,14 @@ public class OverrideImplementTest extends LightCodeInsightFixtureTestCase {
doMultiOverrideFileTest();
}
public void testOverrideExplicitFunction() {
doOverrideFileTest();
}
public void testOverrideExplicitProperty() {
doOverrideFileTest();
}
public void testComplexMultiOverride() {
doMultiOverrideFileTest();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册