"Create class from usage": add visibility to primary constructor if needed
#KT-29844 Fixed
This commit is contained in:
committed by
igoriakovlev
parent
b1e8238ea2
commit
efa981db36
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
// "Create class 'Bar'" "true"
|
||||
// DISABLE-ERRORS
|
||||
class Foo
|
||||
|
||||
val bar = Bar(Foo())
|
||||
|
||||
class Bar(foo: Foo) {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user