Set return type for the fake constructor of a class object

This commit is contained in:
Andrey Breslav
2012-06-26 18:00:23 +02:00
parent 2c688a5e3c
commit fe394b9827
2 changed files with 16 additions and 3 deletions
@@ -0,0 +1,10 @@
namespace <root>
internal final enum class Test : jet.Any {
public final /*constructor*/ fun <init>(/*0*/ a: jet.Int): Test
internal final object Test.<class-object-for-Test> {
internal final /*constructor*/ fun <init>(): Test.<class-object-for-Test>
internal final val A: Test.<class-object-for-Test>.A
internal final val C: Test.<class-object-for-Test>.C
}
}