Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/contracts/dsl/callUsualContractFunction.txt
T
Mikhail Zarechenskiy bae3ff5211 Don't try parsing contract-like function not from kotlin package
Returning `null` from `doCheckContract` functions means that we
have failed to parse contract function and should report an error, but
if the called function isn't true contract, we shouldn't evaluate that code
at all.

 #KT-27758 Fixed
2018-10-24 12:03:04 +03:00

22 lines
965 B
Plaintext
Vendored

package
package my {
public fun callTopLevelDifferentPsi(): kotlin.Unit
public fun callTopLevelSamePsi(): kotlin.Unit
public fun callTopLevelSamePsiNotFirstStatement(): kotlin.Unit
public fun contract(/*0*/ block: () -> kotlin.Unit): kotlin.Unit
public fun contract(/*0*/ i: kotlin.Int): kotlin.Unit
public fun doStuff(): kotlin.Unit
public final class SomeClass {
public constructor SomeClass()
public final fun callMemberContractWithThis(): kotlin.Unit
public final fun callMemberContractWithoutThis(): kotlin.Unit
public final fun callTopLevelSamePsiInMember(): kotlin.Unit
public final fun contract(): kotlin.Unit
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
}
}