Add data modifier to a class quickfix #KT-18220 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
f08e9832a6
commit
1043284afe
@@ -0,0 +1,6 @@
|
||||
// "Make 'Foo' data class" "true"
|
||||
class Foo(internal val bar: String, var baz: Int)
|
||||
|
||||
fun test() {
|
||||
var (bar, baz) = Foo("A", 1)<caret>
|
||||
}
|
||||
Reference in New Issue
Block a user