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
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
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
|
||||
Reference in New Issue
Block a user