FIR: Implement data class constructor checker

This commit is contained in:
Tianyu Geng
2021-02-23 20:42:34 -08:00
committed by Mikhail Glukhikh
parent d2da15e039
commit 6e8bad6ef6
21 changed files with 160 additions and 69 deletions
@@ -1,4 +1,4 @@
data class A
<!PRIMARY_CONSTRUCTOR_REQUIRED_FOR_DATA_CLASS!>data class A<!>
fun foo(a: A) {
a.<!UNRESOLVED_REFERENCE!>component1<!>()