JVM_IR: fix default argument stub visibility.

Match the rules from the old backend:

1. Private and inline only methods get package private default
   argument stubs.

2. Everything else is public.
This commit is contained in:
Mads Ager
2020-01-06 15:56:43 +01:00
committed by Alexander Udalov
parent 7f319c18de
commit 1b1dff9191
10 changed files with 51 additions and 18 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
open class MyClass() {
fun testPublic(s: String = "") {}