Add data modifier to a class quickfix #KT-18220 Fixed

This commit is contained in:
Toshiaki Kameyama
2017-09-19 03:19:05 +03:00
committed by Mikhail Glukhikh
parent f08e9832a6
commit 1043284afe
27 changed files with 409 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
// "Make 'Foo' data class" "true"
data class Foo(val bar: String, var baz: Int)
fun test() {
val foo = Foo("A", 1)
var (bar, baz) = foo<caret>
}