Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/deeplyNested.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

26 lines
977 B
Plaintext
Vendored

package
public fun br(/*0*/ y: kotlin.Any?): kotlin.Unit
public fun branchedAndNested(/*0*/ x: kotlin.Any?, /*1*/ y: kotlin.Any?): kotlin.Unit
public fun branchedAndNestedWithNativeOperators(/*0*/ x: kotlin.Any?, /*1*/ y: kotlin.Any?): kotlin.Unit
public fun equalsTrue(/*0*/ x: kotlin.Boolean): kotlin.Boolean
Returns(TRUE) -> x
public fun isInt(/*0*/ x: kotlin.Any?): kotlin.Boolean
Returns(TRUE) -> x is Int
public fun isString(/*0*/ x: kotlin.Any?): kotlin.Boolean
Returns(TRUE) -> x is String
public fun myAssert(/*0*/ condition: kotlin.Boolean): kotlin.Unit
Returns(WILDCARD) -> condition
public fun nested1(/*0*/ x: kotlin.Any?): kotlin.Unit
public fun nested2(/*0*/ x: kotlin.Any?): kotlin.Unit
public fun nested3(/*0*/ x: kotlin.Any?): kotlin.Unit
public fun notEqualsNull(/*0*/ x: kotlin.Any?): kotlin.Boolean
Returns(TRUE) -> x != null
public fun nullWhenNotString(/*0*/ x: kotlin.Any?): kotlin.String?
Returns(NOT_NULL) -> x is String