Add ERRORs check to AbstractOutOfBlockModificationTest
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// OUT_OF_CODE_BLOCK: FALSE
|
||||
// TYPE: '//'
|
||||
// ERROR: Property must be initialized
|
||||
|
||||
class InClassInUninitializedPropertyAccessor {
|
||||
var prop1: Int
|
||||
set(value) {
|
||||
<caret> println("prop.setter")
|
||||
field = value
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user