Enable control flow checks for functions without body
Except checks for tail recursive calls #KT-7796 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
interface Inter {
|
||||
fun foo(x: Int = <!UNINITIALIZED_PARAMETER!>y<!>, y: Int = x)
|
||||
}
|
||||
|
||||
abstract class Abst {
|
||||
abstract fun foo(x: Int = <!UNINITIALIZED_PARAMETER!>y<!>, y: Int = x)
|
||||
}
|
||||
|
||||
<!NON_MEMBER_FUNCTION_NO_BODY!>fun extraDiagnostics(<!UNUSED_PARAMETER!>x<!>: Int = <!UNINITIALIZED_PARAMETER!>y<!>, <!UNUSED_PARAMETER!>y<!>: Int)<!>
|
||||
Reference in New Issue
Block a user