Remove leftovers of platformName and platformStatic in test data

Drop unnecessary imports, rename some tests
This commit is contained in:
Alexander Udalov
2016-03-02 16:47:04 +03:00
parent beb11e7ac1
commit 8e77e16bbd
55 changed files with 168 additions and 191 deletions
@@ -1,4 +1,3 @@
import kotlin.jvm.JvmStatic
class A {
<!WRONG_ANNOTATION_TARGET!>@JvmStatic<!> constructor() {}
inner class B {
@@ -1,6 +1,4 @@
// !DIAGNOSTICS: -UNUSED_VARIABLE
import kotlin.jvm.JvmStatic
abstract class A {
open fun a() {}
@@ -1,6 +1,4 @@
// !DIAGNOSTICS: -UNUSED_VARIABLE
import kotlin.jvm.JvmStatic
class A {
companion object {
@JvmStatic fun a1() {
@@ -1,6 +1,4 @@
// !DIAGNOSTICS: -UNUSED_VARIABLE
import kotlin.jvm.JvmStatic
fun main(args: Array<String>) {
<!JVM_STATIC_NOT_IN_OBJECT!>@JvmStatic fun a()<!>{
@@ -1,6 +1,4 @@
// !DIAGNOSTICS: -UNUSED_VARIABLE
import kotlin.jvm.JvmStatic
open class B {
public open val base1 : Int = 1
public open val base2 : Int = 1
@@ -1,6 +1,4 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
import kotlin.jvm.JvmStatic
open class Base {
fun `foo$default`(i: Int, mask: Int, mh: Any) {}
}