Generate equals/hashCode(): Use class literals when possible

#KT-18683 Fixed
This commit is contained in:
Alexey Sedunov
2017-06-22 20:17:23 +03:00
parent 50a38df8b1
commit e3e4c447fa
11 changed files with 196 additions and 7 deletions
@@ -0,0 +1,8 @@
// PLATFORM: JavaScript
class A(val n: Int, val s: String) {<caret>
val f: Float = 1.0f
fun foo() {
}
}