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
16 lines
604 B
Plaintext
Vendored
16 lines
604 B
Plaintext
Vendored
package
|
|
|
|
public fun foo(/*0*/ x: kotlin.Any?): kotlin.Unit
|
|
|
|
public final class A {
|
|
public constructor A()
|
|
public final val q: kotlin.String.() -> kotlin.Int
|
|
public final val x: kotlin.Int = 4
|
|
public final val y: [ERROR : Type for null ?:]
|
|
public final val z: [ERROR : Type for null ?:]
|
|
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
|
|
}
|