Added init keyword to testdata
This commit is contained in:
@@ -5,7 +5,7 @@ public object RefreshQueue {
|
||||
}
|
||||
});
|
||||
|
||||
{
|
||||
init {
|
||||
workerThread.start()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ public class Foo
|
||||
private var bar = 0
|
||||
}
|
||||
|
||||
{
|
||||
init {
|
||||
++bar
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ class Foo() {
|
||||
val c: String
|
||||
var d: String
|
||||
|
||||
{
|
||||
init {
|
||||
c = bar
|
||||
d = Foo.bar
|
||||
boo = "O"
|
||||
|
||||
Reference in New Issue
Block a user