Added init keyword to testdata
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class Foo {
|
||||
|
||||
{Foo.test()}
|
||||
init {Foo.test()}
|
||||
|
||||
companion object {
|
||||
private fun test() {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
class Foo {
|
||||
|
||||
{Foo.test}
|
||||
init {Foo.test}
|
||||
|
||||
companion object {
|
||||
private val test = "String"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
class Foo {
|
||||
|
||||
{Foo.test}
|
||||
init {Foo.test}
|
||||
|
||||
companion object {
|
||||
private var test = "String"
|
||||
|
||||
Reference in New Issue
Block a user