Don't resolve kotlin constructors from bytecode without JetConstructorAnnotation
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
class TestConstructor(p: Int = 1, s: Int)
|
||||
@@ -0,0 +1,5 @@
|
||||
namespace test
|
||||
|
||||
internal final class test.TestConstructor : jet.Any {
|
||||
public final /*primary constructor*/ fun <init>(/*0*/ p: jet.Int = ?, /*1*/ s: jet.Int): test.TestConstructor
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
class TestConstructor(p: Int = 1, d: Int = 1)
|
||||
@@ -0,0 +1,5 @@
|
||||
namespace test
|
||||
|
||||
internal final class test.TestConstructor : jet.Any {
|
||||
public final /*primary constructor*/ fun <init>(/*0*/ p: jet.Int = ?, /*1*/ d: jet.Int = ?): test.TestConstructor
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
class A {
|
||||
class TestConstructor(p: Int = 1)
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace test
|
||||
|
||||
internal final class test.A : jet.Any {
|
||||
public final /*primary constructor*/ fun <init>(): test.A
|
||||
internal final class test.A.TestConstructor : jet.Any {
|
||||
public final /*primary constructor*/ fun <init>(/*0*/ p: jet.Int = ?): test.A.TestConstructor
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
class TestConstructor private(p: Int = 1)
|
||||
@@ -0,0 +1,5 @@
|
||||
namespace test
|
||||
|
||||
internal final class test.TestConstructor : jet.Any {
|
||||
private final /*primary constructor*/ fun <init>(/*0*/ p: jet.Int = ?): test.TestConstructor
|
||||
}
|
||||
Reference in New Issue
Block a user