Generate default constructor also for private classes when all parameters have default values

#KT-14408 Fixed
This commit is contained in:
Dmitry Jemerov
2016-11-17 11:06:31 +01:00
parent 248185943c
commit 16a133bf5c
6 changed files with 36 additions and 2 deletions
@@ -1,4 +1,4 @@
private class Foo(val a: Int = 1) {}
// CLASS: Foo
// HAS_DEFAULT_CONSTRUCTOR: false
// HAS_DEFAULT_CONSTRUCTOR: true