Add ERRORs check to AbstractOutOfBlockModificationTest

This commit is contained in:
Vladimir Dolzhenko
2019-11-23 23:52:04 +01:00
parent 144f721a44
commit c67222c176
43 changed files with 141 additions and 28 deletions
+4
View File
@@ -1,4 +1,8 @@
// OUT_OF_CODE_BLOCK: FALSE
fun run(block: () -> Int): Int {
return block()
}
fun some(): Int = run { 12 + <caret> }
// TYPE: 1