Add explicit return types to several test data files so that AST access is not needed
Test cases are chosen so that addition/removal of explicit type will not interfere with the original purpose of the test
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
package test
|
||||
|
||||
class ClassVar() {
|
||||
var property1 = 1
|
||||
var property1: Int = 1
|
||||
|
||||
internal var property2 = 1
|
||||
internal var property2: Int = 1
|
||||
|
||||
private var property3 = Object()
|
||||
private var property3: Object = Object()
|
||||
|
||||
protected var property4: String = ""
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
package test
|
||||
|
||||
open class ClassVarModality() {
|
||||
open var property1 = 1
|
||||
open var property1: Int = 1
|
||||
|
||||
final internal var property2 = 1
|
||||
final internal var property2: Int = 1
|
||||
|
||||
open var property3 = 1
|
||||
open var property3: Int = 1
|
||||
private set
|
||||
|
||||
final internal var property4 = 1
|
||||
final internal var property4: Int = 1
|
||||
private set
|
||||
}
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
package test
|
||||
|
||||
class ClassVal() {
|
||||
var property1 = 1
|
||||
var property1: Int = 1
|
||||
get
|
||||
|
||||
internal var property2 = 1
|
||||
internal var property2: Int = 1
|
||||
get
|
||||
|
||||
private var property3 = Object()
|
||||
private var property3: Object = Object()
|
||||
get
|
||||
|
||||
protected var property4: String = ""
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
package test
|
||||
|
||||
class ClassVal() {
|
||||
var property1 = 1
|
||||
var property1: Int = 1
|
||||
set
|
||||
|
||||
var property2 = Object()
|
||||
var property2: Object = Object()
|
||||
protected set
|
||||
|
||||
var property3 = Object()
|
||||
var property3: Object = Object()
|
||||
private set
|
||||
|
||||
protected var property4: String = ""
|
||||
|
||||
Reference in New Issue
Block a user