[FIR] Add correctly reported diagnostics to testdata
This commit is contained in:
committed by
TeamCityServer
parent
1f1065d858
commit
0ab4770f02
+2
-2
@@ -14,7 +14,7 @@ var Any?.isNotNull: Boolean
|
||||
set(value) {
|
||||
contract {
|
||||
returns() implies (this@isNotNull != null)
|
||||
require(this != null)
|
||||
<!ERROR_IN_CONTRACT_DESCRIPTION!>require(this != null)<!>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,4 +27,4 @@ fun test_1(a: A?) {
|
||||
fun test_2(a: A?) {
|
||||
a.isNotNull = true
|
||||
a.foo()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user