fix tests by adding missing 'init' keywords to testdata
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// PARAM_TYPES: kotlin.Int
|
||||
// PARAM_DESCRIPTOR: value-parameter val b: kotlin.Int defined in A.<init>
|
||||
class A(val a: Int, b: Int) {
|
||||
{
|
||||
init {
|
||||
println(<selection>a + b</selection> - 1)
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// PARAM_TYPES: kotlin.Int
|
||||
// PARAM_DESCRIPTOR: value-parameter val b: kotlin.Int defined in A.<init>
|
||||
class A(val a: Int, b: Int) {
|
||||
{
|
||||
init {
|
||||
println(i(b) - 1)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// PARAM_TYPES: kotlin.Int
|
||||
// PARAM_DESCRIPTOR: value-parameter val b: kotlin.Int defined in A.<init>
|
||||
class A(val a: Int, b: Int) {
|
||||
{
|
||||
init {
|
||||
println({ <selection>a + b</selection> - 1 }.invoke())
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// PARAM_TYPES: kotlin.Int
|
||||
// PARAM_DESCRIPTOR: value-parameter val b: kotlin.Int defined in A.<init>
|
||||
class A(val a: Int, b: Int) {
|
||||
{
|
||||
init {
|
||||
println({ i(b) - 1 }.invoke())
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
class A {
|
||||
val i: Int
|
||||
|
||||
{
|
||||
init {
|
||||
i = 1
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
class A {
|
||||
val i: Int
|
||||
|
||||
{
|
||||
init {
|
||||
i = 1
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
open class A() {
|
||||
{
|
||||
init {
|
||||
do <selection>1</selection> while (true)
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
open class A() {
|
||||
{
|
||||
init {
|
||||
do {
|
||||
val i = 1
|
||||
} while (true)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
open class A() {
|
||||
{
|
||||
init {
|
||||
do println(<selection>1</selection>) while (true)
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
open class A() {
|
||||
{
|
||||
init {
|
||||
do {
|
||||
val i = 1
|
||||
println(i)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
open class A() {
|
||||
{
|
||||
init {
|
||||
while (true) <selection>1</selection>
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
open class A() {
|
||||
{
|
||||
init {
|
||||
while (true) {
|
||||
val i = 1
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
open class A() {
|
||||
{
|
||||
init {
|
||||
while (true) println(<selection>1</selection>)
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
open class A() {
|
||||
{
|
||||
init {
|
||||
while (true) {
|
||||
val i = 1
|
||||
println(i)
|
||||
|
||||
Reference in New Issue
Block a user