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:
Pavel V. Talanov
2014-04-10 18:39:42 +04:00
parent a807712ce7
commit 72bdacb074
29 changed files with 38 additions and 38 deletions
@@ -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 = ""