"Create class from usage": add visibility to primary constructor if needed

#KT-29844 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-01-24 15:28:49 +09:00
committed by igoriakovlev
parent b1e8238ea2
commit efa981db36
11 changed files with 84 additions and 6 deletions
@@ -0,0 +1,5 @@
// "Create class 'Bar'" "true"
// DISABLE-ERRORS
internal class Foo
val bar = <caret>Bar(Foo())