FIR checker: introduce top-level property checkers

Also, refactor property initializer checking so that those
newly added property checkers as well as member property checker
can share the same logic
This commit is contained in:
Jinseong Jeon
2021-01-20 00:10:23 -08:00
committed by Mikhail Glukhikh
parent f9378a3ab7
commit 57c8dd86a0
11 changed files with 151 additions and 47 deletions
@@ -1,5 +1,5 @@
expect fun foo1()
expect val bar1 = 42
expect val bar1 = <!EXPECTED_PROPERTY_INITIALIZER!>42<!>
expect class Baz1
actual fun foo2() = 42