KT-5068: Introduce a special diagnostic message for TYPE_MISMATCH cases such as 'fun f(): Int = { 1 }'.

This commit is contained in:
Dmitry Petrov
2016-05-20 16:27:03 +03:00
parent 8b06d919b4
commit 968ed3f091
8 changed files with 108 additions and 2 deletions
@@ -0,0 +1,35 @@
package
public val test3: () -> kotlin.Int
public val test4: () -> kotlin.Int
public fun outer(): kotlin.Unit
public fun test1(): kotlin.Int
public fun test2(): kotlin.Int
public fun test5(): kotlin.Int
public fun test6(): kotlin.Int
public final class Outer {
public constructor Outer()
public final val test3: () -> kotlin.Int
public final val test4: () -> kotlin.Int
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public final fun test1(): kotlin.Int
public final fun test2(): kotlin.Int
public final fun test5(): kotlin.Int
public final fun test6(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
public final class Nested {
public constructor Nested()
public final val test3: () -> kotlin.Int
public final val test4: () -> kotlin.Int
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public final fun test1(): kotlin.Int
public final fun test2(): kotlin.Int
public final fun test5(): kotlin.Int
public final fun test6(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
}