Parser tests: move the contract description blocks tests to a separate folder and add a test for property accessors' contracts
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
fun foo(s: String?) contract [returns() implies (s != null)] {
|
||||
s ?: throw NullArgumentException()
|
||||
}
|
||||
Reference in New Issue
Block a user