[FIR] KT-56877: Allow checking types of containing classes in contracts
This commit is contained in:
committed by
Space Team
parent
c7a71fec17
commit
c156dfe855
Vendored
+1
-1
@@ -10,7 +10,7 @@ class Foo {
|
||||
inner class Bar {
|
||||
fun good() {
|
||||
contract {
|
||||
<!ERROR_IN_CONTRACT_DESCRIPTION!>returns() implies (this@Bar != null)<!>
|
||||
returns() implies (this@Bar != null)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user