Code Insight: Format generated declarations
#KT-11176 Fixed (cherry picked from commit 3641ad6)
This commit is contained in:
Vendored
-1
@@ -2,7 +2,6 @@
|
||||
|
||||
class A<T>(val n: T) {
|
||||
operator fun unaryPlus(): A<T> = throw Exception()
|
||||
|
||||
infix operator fun plus(t: T): A<T> {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
Vendored
-1
@@ -2,7 +2,6 @@
|
||||
|
||||
class A<T>(val n: T) {
|
||||
fun plus(i: Int, s: String): A<T> = throw Exception()
|
||||
|
||||
infix operator fun plus(t: T): A<T> {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
-1
@@ -2,7 +2,6 @@
|
||||
|
||||
class A<T>(val n: T) {
|
||||
fun foo(a: Int): A<T> = throw Exception()
|
||||
|
||||
fun foo(a: T, s: String): A<T> {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
-1
@@ -2,7 +2,6 @@
|
||||
|
||||
class A<T>(val n: T) {
|
||||
fun foo(i: Int, s: String): A<T> = throw Exception()
|
||||
|
||||
fun foo(i: T): A<T> {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
Vendored
-1
@@ -2,7 +2,6 @@
|
||||
class Foo<T> {
|
||||
operator fun component1(): Int { return 0 }
|
||||
operator fun component2(): Int { return 0 }
|
||||
|
||||
operator fun component3(): Any {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
Vendored
-1
@@ -2,7 +2,6 @@
|
||||
class Foo<T> {
|
||||
operator fun component1(): Int { return 0 }
|
||||
operator fun component2(): Int { return 0 }
|
||||
|
||||
operator fun component3(): String {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
Vendored
-1
@@ -3,7 +3,6 @@ import kotlin.reflect.KProperty
|
||||
|
||||
class F {
|
||||
operator fun setValue(x: X, property: KProperty<*>, i: Int) { }
|
||||
|
||||
operator fun getValue(x: X, property: KProperty<*>): Int {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
Vendored
-1
@@ -3,7 +3,6 @@ import kotlin.reflect.KProperty
|
||||
|
||||
class F {
|
||||
operator fun getValue(x: X, property: KProperty<*>): Int = 1
|
||||
|
||||
operator fun setValue(x: X, property: KProperty<*>, i: Int) {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
Vendored
-1
@@ -1,7 +1,6 @@
|
||||
// "Create member function 'next'" "true"
|
||||
class FooIterator<T> {
|
||||
operator fun hasNext(): Boolean { return false }
|
||||
|
||||
operator fun next(): Any {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
// "Create member function 'next'" "true"
|
||||
class FooIterator<T> {
|
||||
operator fun hasNext(): Boolean { return false }
|
||||
|
||||
operator fun next(): Int {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
// "Create member function 'next'" "true"
|
||||
class FooIterator<T> {
|
||||
operator fun hasNext(): Boolean { return false }
|
||||
|
||||
operator fun next(): T {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
// "Create member function 'set'" "true"
|
||||
class A {
|
||||
operator fun get(s: String): Int = 1
|
||||
|
||||
operator fun set(s: String, value: Int) {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
Vendored
-1
@@ -2,7 +2,6 @@
|
||||
|
||||
class A<T>(val n: T) {
|
||||
operator fun minus(n: Int): A<T> = throw Exception()
|
||||
|
||||
operator fun unaryMinus(): A<T> {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user