Data class must have at least one argument is reported on constructor parameter list now, if any #KT-9999 Fixed

This commit is contained in:
Mikhail Glukhikh
2015-11-13 18:12:42 +03:00
parent 86c37deaee
commit dd43674426
4 changed files with 14 additions and 2 deletions
@@ -1,4 +1,4 @@
data class <!DATA_CLASS_WITHOUT_PARAMETERS!>A<!>()
data class A<!DATA_CLASS_WITHOUT_PARAMETERS!>()<!>
fun foo(a: A) {
a.<!UNRESOLVED_REFERENCE!>component1<!>()