This commit is contained in:
Dmitry Jemerov
2016-07-19 17:57:49 +02:00
parent 3cbe28095b
commit 079d857aa2
188 changed files with 218 additions and 201 deletions
@@ -1 +1 @@
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
@@ -5,6 +5,6 @@ import org.junit.runners.Parameterized
class A {
@Parameterized.Parameters
fun data(): Collection<Array<Any>> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -5,6 +5,6 @@ import org.junit.Before
class A {
@Before
fun setUp() {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -5,7 +5,7 @@ import org.junit.Before
class A {
@org.testng.annotations.BeforeMethod
fun setUp() {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
@Before
@@ -5,6 +5,6 @@ import org.junit.After
class A {
@After
fun tearDown() {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -5,7 +5,7 @@ import org.junit.After
class A {
@org.testng.annotations.AfterMethod
fun tearDown() {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
@After
@@ -5,6 +5,6 @@ import org.junit.Test
class A {
@Test
fun name() {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -4,6 +4,6 @@ import junit.framework.TestCase
class A : TestCase() {
fun testName() {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -6,6 +6,6 @@ import org.testng.annotations.Test
@Test class A {
@DataProvider(name = "name")
fun name(): Array<Array<Any>> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -6,6 +6,6 @@ import org.testng.annotations.Test
@Test class A {
@BeforeMethod
fun setUp() {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -6,6 +6,6 @@ import org.testng.annotations.Test
@Test class A {
@AfterMethod
fun tearDown() {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -5,6 +5,6 @@ import org.testng.annotations.Test
@Test class A {
@Test
fun testName() {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -11,6 +11,6 @@ class B : A() {
* @see TEST
*/
override fun foo() {
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}
@@ -4,6 +4,6 @@ interface T {
class C : T {
override fun foo(a: Int) {
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}
@@ -5,7 +5,7 @@ interface T {
class C(t :T) : T by t {
override fun bar() {
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
override fun equals(other: Any?): Boolean {
@@ -13,7 +13,7 @@ class C(t :T) : T by t {
}
override fun foo() {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
override fun hashCode(): Int {
@@ -23,7 +23,7 @@ class C : B(), I {
}
override fun g() {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
override fun hashCode(): Int {
@@ -5,6 +5,6 @@ interface T {
class C : T {
override fun Foo(): (String) -> Unit {
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}
@@ -5,6 +5,6 @@ interface T {
class C : T {
override fun Foo(): (String) -> Unit {
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}
@@ -4,6 +4,6 @@ interface Trait {
class TraitImpl : Trait {
override fun <A, B : Runnable, E : Map.Entry<A, B>> foo() where B : Cloneable, B : Comparable<B> {
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}
@@ -8,14 +8,14 @@ interface Some<T> {
class SomeOther<S> : Some<S> {
override fun someFoo() {
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
override fun someGenericFoo(): S {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
override fun someOtherFoo(): Int {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -4,6 +4,6 @@ interface G<T> {
class GC() : G<Int> {
override fun foo(t: Int): Int {
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}
@@ -2,6 +2,6 @@
class MyClass<A: Comparable<A>> : Iterable<A> {
override fun iterator(): Iterator<A> {
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}
@@ -1,5 +1,5 @@
class C : (String) -> Boolean {
override fun invoke(p1: String): Boolean {
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}
@@ -3,6 +3,6 @@ import foo.B
class C : A() {
override fun foo(x: MutableList<Any?>?, y: String?): B<*> {
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}
@@ -2,6 +2,6 @@ package foo
class Impl: B {
override fun foo(r: Runnable?) {
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}
@@ -2,6 +2,6 @@ import foo.Intf
class Impl(): Intf {
override fun getFooBar(): String {
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}
@@ -2,6 +2,6 @@ import foo.Intf
class Impl(): Intf {
override fun fooBar(i: Int, s: Array<out String>?, foo: Any?) {
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}
@@ -7,7 +7,7 @@ fun f() {
object : C<R>() {
override fun f(a: R) {
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}
}
@@ -8,7 +8,7 @@ interface B {
class C : A(), B {
override fun bar() {
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
override fun equals(other: Any?): Boolean {
@@ -4,6 +4,6 @@ interface A {
class B : A {
override fun String.foo() {
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}
@@ -1,4 +1,3 @@
// ERROR: Unresolved reference: println
open class A() {
open val method : () -> Unit? = {println("hello")}
}
@@ -1,4 +1,3 @@
// ERROR: Unresolved reference: println
interface A<T> {
fun foo(value : T) : Unit = println(value)
}
@@ -1,4 +1,3 @@
// ERROR: Unresolved reference: println
open class A() {
open fun foo(value : Int) : Unit = println(value)
open val bar : Int = 0
@@ -20,6 +20,6 @@ class C : A(), I {
}
override fun z() {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -6,7 +6,7 @@ interface Test {
class SomeTest : Test {
val hello = 12
override fun test() {
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
override val testProp: Int
@@ -3,7 +3,7 @@ import lib.ArrayFactory
public class Impl : ArrayFactory {
override fun create(): lib.Array {
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}
@@ -6,6 +6,6 @@ interface Base {
class Derived : Base {
override fun foo(c: C<*>) {
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}
@@ -30,15 +30,15 @@ abstract class B : I2, A(), I3 {
}
override fun i() {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
override fun i1() {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
override fun i2() {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
override fun toString(): String {
@@ -4,6 +4,6 @@ interface G<T> {
class GC<T>() : G<T> {
override fun foo(t: T): T {
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}
@@ -4,6 +4,6 @@ interface Some {
class SomeOther : Some {
override fun foo(some: Int?): Int {
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}
@@ -8,6 +8,6 @@ enum class E : T<Int> {
A, B, C;
override fun foo(x: Int): Int {
<caret><selection>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<caret><selection>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}
@@ -8,6 +8,6 @@ enum class E : T<Int> {
A, B, C;
override fun foo(x: Int): Int {
<caret><selection>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<caret><selection>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}
@@ -8,7 +8,7 @@ enum class E : T<Int> {
A, B, C;
override fun foo(x: Int): Int {
<caret><selection>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<caret><selection>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
val bar = 1
@@ -3,15 +3,15 @@
enum class E {
A {
override fun foo(x: Int): Int {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}, B {
override fun foo(x: Int): Int {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}, C {
override fun foo(x: Int): Int {
<caret><selection>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<caret><selection>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
};
@@ -3,15 +3,15 @@
enum class E(n: Int) {
A(1) {
override fun foo(x: Int): Int {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}, B(2) {
override fun foo(x: Int): Int {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}, C(3) {
override fun foo(x: Int): Int {
<caret><selection>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<caret><selection>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
};
@@ -6,14 +6,14 @@ interface T<X> {
class U : T<String> {
override fun foo(x: String): String {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
class V : T<Int> {
override fun foo(x: Int): Int {
<caret><selection>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<caret><selection>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}
@@ -2,7 +2,7 @@
class A<T>(val n: T) {
infix fun foo(t: T): A<T> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -2,7 +2,7 @@
class A<T>(val n: T) {
infix operator fun compareTo(t: T): Int {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -2,7 +2,7 @@
class A<T>(val n: T) {
infix operator fun contains(t: T): Boolean {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -2,7 +2,7 @@
class A<T>(val n: T) {
infix operator fun compareTo(t: T): Int {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -2,7 +2,7 @@
class A<T>(val n: T) {
infix operator fun contains(t: T): Boolean {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -2,7 +2,7 @@
class A<T>(val n: T) {
infix operator fun plusAssign(t: T) {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -4,7 +4,7 @@ class A<T>(val n: T) {
operator fun unaryPlus(): A<T> = throw Exception()
infix operator fun plus(t: T): A<T> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -2,7 +2,7 @@
class A<T>(val n: T) {
infix operator fun plus(t: T): A<T> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -4,7 +4,7 @@ class A<T>(val n: T) {
fun plus(i: Int, s: String): A<T> = throw Exception()
infix operator fun plus(t: T): A<T> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -8,5 +8,5 @@ fun test() {
}
infix operator fun Int.plus(a: A<Int>): A<Int> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
@@ -2,7 +2,7 @@
class A<T>(val n: T) {
infix operator fun plus(t: T): A<T> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -2,7 +2,7 @@
class A<T>(val n: T) {
infix operator fun plus(i: Int): A<T> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -6,5 +6,5 @@ fun test() {
}
infix fun Int.`!u00A0`(i: Int): Int {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
@@ -2,7 +2,7 @@
class A<T>(val n: T) {
infix operator fun contains(t: T): Boolean {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -2,7 +2,7 @@
class A<T>(val n: T) {
infix operator fun contains(t: T): Boolean {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -6,5 +6,5 @@ fun test() {
}
fun foo(n: String) {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
@@ -5,5 +5,5 @@ fun test() {
}
fun foo(): String {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
@@ -2,7 +2,7 @@
class A<T>(val n: T) {
fun foo(t: T, s: String, function: (T) -> T): A<T> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -2,7 +2,7 @@
class A<T>(val n: T) {
fun foo(function: (T) -> T): A<T> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -5,6 +5,6 @@ fun isModified(settings: Settings, c: C) = c.foo(settings)
class C {
fun foo(settings: Settings): Any {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -6,5 +6,5 @@ fun test(): Int {
}
fun A.foo(): Int {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
@@ -6,5 +6,5 @@ fun test(): Int? {
}
fun A.foo(i: Int, s: String): Int? {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
@@ -7,5 +7,5 @@ fun test(t: T) {
}
fun T.foo(s: String, i: Int): Boolean {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
@@ -11,5 +11,5 @@ class X {
}
fun package2.A.foo() {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
@@ -4,7 +4,7 @@ class A<T>(val n: T) {
fun foo(a: Int): A<T> = throw Exception()
fun foo(a: T, s: String): A<T> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -4,7 +4,7 @@ class A<T>(val n: T) {
fun foo(i: Int, s: String): A<T> = throw Exception()
fun foo(i: T): A<T> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -3,7 +3,7 @@
class A<T>(val n: T) {
companion object {
fun foo(i: Int): Int {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -6,5 +6,5 @@ fun test() {
}
fun Unit.foo(i: Int): Int {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
@@ -8,5 +8,5 @@ fun test() {
}
fun Int.foo(a: A<Int>): A<Int> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
@@ -2,7 +2,7 @@
object A {
fun foo(i: Int): Int {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -2,7 +2,7 @@
class A<T>(val n: T) {
fun foo(t: T): A<T> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -5,7 +5,7 @@ class F {
}
fun foo(i: Int, s: String): Int {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -2,7 +2,7 @@
class A<T>(val n: T) {
fun foo(u: T): A<T> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -8,7 +8,7 @@ class A {
}
private fun foo(): A {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
fun bar() {
@@ -2,7 +2,7 @@
class A<T>(val n: T) {
fun foo(abc: T, ghi: A<T>, def: String): A<T> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -2,7 +2,7 @@
class A<T>(val n: T) {
fun foo(t: T?): A<Int> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -2,7 +2,7 @@
class A<T>(val n: T) {
fun foo(t: T): A<T>? {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -2,7 +2,7 @@
class A<T>(val n: T) {
fun foo(t: T): A<String> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -7,5 +7,5 @@ fun test() {
}
fun foo(i: Int, s: String) {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
@@ -5,5 +5,5 @@ fun foo(block: (Int) -> String) {
}
fun bar(block: (Int) -> String) {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
@@ -5,5 +5,5 @@ fun foo(block: (Int) -> String) {
}
fun <P1, R> ((P1) -> R).bar() {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
@@ -7,5 +7,5 @@ fun test() {
}
fun foo(): Any {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
@@ -3,7 +3,7 @@
class A<T>(val n: T) {
fun foo(s: String, t: T): Any {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -1,10 +1,8 @@
// "Create function" "false"
// ERROR: A 'return' expression required in a function with a block body ('{...}')
// ERROR: Cannot infer a type for this parameter. Please specify it explicitly.
// ERROR: Cannot infer a type for this parameter. Please specify it explicitly.
// ERROR: Expression 'return groupsByLength.values.firstOrNull { group -> {group.size == maximumSizeOfGroup} }' cannot be a selector (occur after a dot)
// ERROR: Unresolved reference: groupBy
// ERROR: Unresolved reference: it
// ERROR: Type inference failed: inline fun <T> Iterable<T>.firstOrNull(predicate: (T) -> Boolean): T?<br>cannot be applied to<br>receiver: Collection<List<String>> arguments: ((List<String>) -> () -> Boolean)<br>
// ERROR: Type mismatch: inferred type is (List<String>) -> () -> Boolean but (List<String>) -> Boolean was expected
// ERROR: Unresolved reference: maximumSizeOfGroup
fun doSomethingStrangeWithCollection(collection: Collection<String>): Collection<String>? {
@@ -2,7 +2,7 @@
fun test() {
fun foo(i: Int, s: String): Int {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
fun nestedTest(): Int {
@@ -7,7 +7,7 @@ class A {
}
private fun foo(i: Int, s: String): Int {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
}
@@ -6,6 +6,6 @@ class A<T>(val t: T) {
val x: A<Int> by foo(t, "")
private fun foo(t: T, s: String): ReadOnlyProperty<A<T>, A<Int>> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -6,6 +6,6 @@ class A<T>(val t: T) {
var x: A<Int> by foo(t, "")
private fun foo(t: T, s: String): ReadWriteProperty<A<T>, A<Int>> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -7,7 +7,7 @@ class A {
}
private fun foo(i: Int, s: String): Int {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
}
@@ -5,6 +5,6 @@ class A {
}
private fun foo() {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -2,7 +2,7 @@
class A {
fun foo(): String {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -5,5 +5,5 @@ fun test(o: Any) {
}
fun foo(o: String) {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
@@ -6,5 +6,5 @@ fun test(s: String?) {
}
fun foo(s: String) {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
@@ -5,6 +5,6 @@ fun isModified(setOptions: SetOptions, c: C) = c.foo(setOptions)
class C {
fun foo(options: SetOptions): Any {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}

Some files were not shown because too many files have changed in this diff Show More