Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/throwsEffect.txt
T
Dmitry Savvinov 4434db4d69 Effects: add diagnostic tests on contracts
- Make AbstractDiagnosticsTest dump function contracts
- Add diagnostics tests on parsing contracts
- Add diagnostics tests on smartcats in presence of functions with
contracts
- Add diagnostics tests on initialization and flow in presence of
in-place called lambdas

==========
Introduction of EffectSystem: 16/18
2017-10-12 11:55:26 +03:00

13 lines
551 B
Plaintext
Vendored

package
public fun myAssert(/*0*/ condition: kotlin.Boolean): kotlin.Unit
Returns(WILDCARD) -> condition
public fun testAssertInIf(/*0*/ x: kotlin.Any?): kotlin.Unit
public fun testAssertSmartcast(/*0*/ x: kotlin.Any?): kotlin.Unit
public fun testAtLeastOnceFlow(/*0*/ x: kotlin.Any?): kotlin.Unit
public fun testInvertedAssert(/*0*/ x: kotlin.Any?): kotlin.Unit
public fun testSpilling(/*0*/ x: kotlin.Any?): kotlin.Unit
public fun testTryCatch(/*0*/ x: kotlin.Any?): kotlin.Unit
public fun testUncertainFlow(/*0*/ x: kotlin.Any?): kotlin.Unit