Drop quickfix tests that relied on removed native annotation
This commit is contained in:
-9
@@ -1,9 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
class TS
|
||||
|
||||
@n<caret>ative
|
||||
fun TS.normalizePath(path: String): String {
|
||||
noImpl
|
||||
}
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
class TS
|
||||
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
inline fun TS.normalizePath(path: String): String = asDynamic().normalizePath(path)
|
||||
@@ -1,6 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
class A
|
||||
|
||||
<caret>@native("aaaa") fun A.foo(): Int
|
||||
@@ -1,8 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
class A
|
||||
|
||||
@JsName("aaaa")
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
inline fun A.foo(): Int = asDynamic().foo()
|
||||
@@ -1,6 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
class A
|
||||
|
||||
@n<caret>ative fun A.foo(): Int = noImpl
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
class A
|
||||
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
inline fun A.foo(): Int = asDynamic().foo()
|
||||
-6
@@ -1,6 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
class A
|
||||
|
||||
<caret>@native fun A.foo(a: Int, b: String): Int
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
class A
|
||||
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
inline fun A.foo(a: Int, b: String): Int = asDynamic().foo(a, b)
|
||||
@@ -1,6 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
class A
|
||||
|
||||
@<caret>native val A.boo: Int
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
class A
|
||||
|
||||
inline val A.boo: Int
|
||||
get() = asDynamic().boo
|
||||
@@ -1,19 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
@<caret>native
|
||||
class B {
|
||||
@nativeGetter
|
||||
fun foo(i: Int): B?
|
||||
|
||||
@nativeSetter
|
||||
fun foo(i: Int, v: B)
|
||||
|
||||
@nativeInvoke
|
||||
fun bar(a: B)
|
||||
|
||||
@nativeInvoke
|
||||
fun<T> exp(t: T)
|
||||
|
||||
fun dontTouch(): Nothing = definedExternally
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
external class B {
|
||||
|
||||
fun dontTouch(): Nothing = definedExternally
|
||||
}
|
||||
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
inline fun B.foo(i: Int): B? = asDynamic()[i]
|
||||
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
inline fun B.foo(i: Int, v: B) {
|
||||
asDynamic()[i] = v
|
||||
}
|
||||
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
inline fun B.bar(a: B) {
|
||||
asDynamic()(a)
|
||||
}
|
||||
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
inline fun<T> B.exp(t: T) {
|
||||
asDynamic()(t)
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
@<caret>native
|
||||
class B {
|
||||
@nativeGetter
|
||||
fun foo(i: Int): B?
|
||||
|
||||
@na<caret>tiveSetter
|
||||
fun foo(i: Int, v: B)
|
||||
|
||||
@nativeInvoke
|
||||
fun bar(a: B)
|
||||
|
||||
@nativeInvoke
|
||||
fun<T> exp(t: T)
|
||||
|
||||
fun dontTouch(): Nothing = definedExternally
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
external class B {
|
||||
|
||||
fun dontTouch(): Nothing = definedExternally
|
||||
}
|
||||
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
inline fun B.foo(i: Int): B? = asDynamic()[i]
|
||||
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
inline fun B.foo(i: Int, v: B) {
|
||||
asDynamic()[i] = v
|
||||
}
|
||||
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
inline fun B.bar(a: B) {
|
||||
asDynamic()(a)
|
||||
}
|
||||
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
inline fun<T> B.exp(t: T) {
|
||||
asDynamic()(t)
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
@native
|
||||
class B {
|
||||
@na<caret>tiveSetter
|
||||
fun foo(i: Int, v: B)
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
external class B {
|
||||
}
|
||||
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
inline fun B.foo(i: Int, v: B) {
|
||||
asDynamic()[i] = v
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
@native
|
||||
class B {
|
||||
@na<caret>tiveInvoke
|
||||
fun bar(a: B)
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
external class B {
|
||||
}
|
||||
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
inline fun B.bar(a: B) {
|
||||
asDynamic()(a)
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
class A
|
||||
|
||||
@native
|
||||
class B<T: A> {
|
||||
@nat<caret>iveInvoke
|
||||
fun exp(t: T)
|
||||
}
|
||||
-11
@@ -1,11 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
class A
|
||||
|
||||
external class B<T: A> {
|
||||
}
|
||||
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
inline fun <T : A> B<T>.exp(t: T) {
|
||||
asDynamic()(t)
|
||||
}
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
class A
|
||||
|
||||
@native
|
||||
class B<T: A> {
|
||||
@nat<caret>iveInvoke
|
||||
fun<T2> exp(t: T, t2: T2)
|
||||
}
|
||||
-11
@@ -1,11 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
class A
|
||||
|
||||
external class B<T: A> {
|
||||
}
|
||||
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
inline fun <T : A, T2> B<T>.exp(t: T, t2: T2) {
|
||||
asDynamic()(t, t2)
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
@native
|
||||
class B {
|
||||
@nat<caret>iveInvoke
|
||||
fun<T> exp(t: T)
|
||||
}
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
external class B {
|
||||
}
|
||||
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
inline fun<T> B.exp(t: T) {
|
||||
asDynamic()(t)
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
@native
|
||||
class B {
|
||||
@na<caret>tive("xx")
|
||||
fun aaaa() // remove @native
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
external class B {
|
||||
@JsName("xx")
|
||||
fun aaaa() // remove @native
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
@native
|
||||
class B {
|
||||
@nat<caret>iveGetter
|
||||
fun foo(i: Int): B?
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
external class B {
|
||||
}
|
||||
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
inline fun B.foo(i: Int): B? = asDynamic()[i]
|
||||
Reference in New Issue
Block a user