KT-1973 added tests.
#KT-1973 Fixed
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
public object Obj {
|
||||
public val v: String = "val"
|
||||
public fun f(): String = "fun"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace test
|
||||
|
||||
public final object test.Obj : jet.Any {
|
||||
private final /*constructor*/ fun <init>(): test.Obj
|
||||
public final fun f(): jet.String
|
||||
public final val v: jet.String
|
||||
}
|
||||
public final val Obj: test.Obj
|
||||
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
public object Obj {
|
||||
public val v: String = "val"
|
||||
public fun f(): String = "fun"
|
||||
}
|
||||
|
||||
val x = 5
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace test
|
||||
|
||||
public final object test.Obj : jet.Any {
|
||||
private final /*constructor*/ fun <init>(): test.Obj
|
||||
public final fun f(): jet.String
|
||||
public final val v: jet.String
|
||||
}
|
||||
public final val Obj: test.Obj
|
||||
internal final val x: jet.Int
|
||||
Reference in New Issue
Block a user