FIR checker: introduce top-level function checker

This commit is contained in:
Jinseong Jeon
2021-01-19 15:09:00 -08:00
committed by Mikhail Glukhikh
parent df68f319bc
commit 9341ca3004
15 changed files with 59 additions and 11 deletions
@@ -6,4 +6,4 @@ abstract class Abst {
abstract fun foo(x: Int = <!UNRESOLVED_REFERENCE!>y<!>, y: Int = x)
}
fun extraDiagnostics(x: Int = <!UNRESOLVED_REFERENCE!>y<!>, y: Int)
<!NON_MEMBER_FUNCTION_NO_BODY!>fun extraDiagnostics(x: Int = <!UNRESOLVED_REFERENCE!>y<!>, y: Int)<!>