KT-1379 Override Methods does not respect caret position

#KT-1379 fixed
This commit is contained in:
Nikolay Krasko
2012-03-27 19:46:12 +04:00
parent cad93cfabd
commit 80b251983c
6 changed files with 116 additions and 30 deletions
@@ -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() {
}
}