mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
It's needed when declarations are parsed as a part of previous expression (see tests) Currently we apply this kind of recovery in a conservative way, only when declaration starts at the next line, and while the condition could be relaxed, there's no need to do this #KT-4948 Fixed #KT-7118 Fixed
19 lines
697 B
Plaintext
Vendored
19 lines
697 B
Plaintext
Vendored
package
|
|
|
|
public fun foo(/*0*/ x: kotlin.Any): kotlin.Unit
|
|
|
|
public final class A {
|
|
public constructor A()
|
|
public final var a: [ERROR : Type for 24.]
|
|
public final var b: kotlin.Double
|
|
public final val q: [ERROR : Type for "c".
|
|
fun String.() = 6]
|
|
public final val x: kotlin.Int = 4
|
|
public final val y: [ERROR : Type for "b".]
|
|
public final val z: [ERROR : Type for "a".]
|
|
public final fun baz(): 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 open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
|
}
|