Add ERRORs check to AbstractOutOfBlockModificationTest
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
// OUT_OF_CODE_BLOCK: FALSE
|
||||
// ERROR: Unresolved reference: awhen
|
||||
enum class A {
|
||||
e1, e2, e3
|
||||
}
|
||||
|
||||
class B(val a: A)
|
||||
|
||||
val B.foo: Int
|
||||
get() {
|
||||
return <caret>when (a) {
|
||||
|
||||
Reference in New Issue
Block a user