KT-1379 Override Methods does not respect caret position
#KT-1379 fixed
This commit is contained in:
@@ -3,6 +3,6 @@ trait T {
|
||||
}
|
||||
|
||||
class GC() : T {
|
||||
|
||||
override val v : Int = 0
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
trait Test {
|
||||
public open fun test()
|
||||
protected open val testProp : Int
|
||||
}
|
||||
|
||||
class SomeTest : Test {
|
||||
val hello = 12
|
||||
<caret>
|
||||
/**
|
||||
* test
|
||||
*/
|
||||
fun some() {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
trait Test {
|
||||
public open fun test()
|
||||
protected open val testProp : Int
|
||||
}
|
||||
|
||||
class SomeTest : Test {
|
||||
val hello = 12
|
||||
override val testProp : Int = 0
|
||||
override fun test() {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
|
||||
/**
|
||||
* test
|
||||
*/
|
||||
fun some() {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user