Converter:

Classes are final by default in plugin mode
This commit is contained in:
Pavel V. Talanov
2013-11-19 15:21:20 +04:00
parent 354daa91bb
commit bf4e27b152
113 changed files with 181 additions and 179 deletions
@@ -1,5 +1,5 @@
package test
open class Test() : Base() {
class Test() : Base() {
public override fun hashCode() : Int {
return super.hashCode()
}
@@ -16,7 +16,7 @@ protected override fun finalize() {
super.finalize()
}
}
open class Base() {
class Base() {
public open fun hashCode() : Int {
return System.identityHashCode(this)
}
@@ -1,4 +1,4 @@
open class A() {
class A() {
open fun a() {
}
}
@@ -1,12 +1,12 @@
open class A() {
class A() {
open fun foo() {
}
}
open class B() : A() {
class B() : A() {
override fun foo() {
}
}
open class C() : B() {
class C() : B() {
override fun foo() {
}
}
@@ -1,5 +1,5 @@
package test
open class Test() {
class Test() {
public open fun hashCode() : Int {
return System.identityHashCode(this)
}
@@ -1,5 +1,5 @@
package demo
open class Test() {
class Test() {
open fun test(vararg var args : Any) {
args = array<Int>(1, 2, 3)
}
@@ -1,5 +1,5 @@
package demo
open class Test() {
class Test() {
open fun test(var i : Int) : Int {
i = 10
return i + 20