Generate constructor without parameters if primary constructor has only parameters with default values
#KT-3085 Fixed
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
object o {
|
||||
class Foo(val a: Int = 1) {}
|
||||
}
|
||||
|
||||
// CLASS: o$Foo
|
||||
// HAS_DEFAULT_CONSTRUCTOR: true
|
||||
Reference in New Issue
Block a user