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

7 lines
249 B
Plaintext
Vendored

package
public fun elseWithNullableResult(/*0*/ x: kotlin.Any?): kotlin.Unit
public fun exhaustiveWithNullableResult(/*0*/ x: kotlin.Any?): kotlin.Unit
public fun safeIsString(/*0*/ x: kotlin.Any?): kotlin.Boolean?
Returns(TRUE) -> x is String