Move tailrecPhase before defaultArgumentStubPhase
So that default values can be copied to the recursive call sites.
This commit is contained in:
committed by
max-kammerer
parent
6addb24e4b
commit
bdcd6f73b1
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
package
|
||||
|
||||
public var counter: kotlin.Int
|
||||
public fun box(): kotlin.String
|
||||
public fun inc(): kotlin.Int
|
||||
public tailrec fun test(/*0*/ x: kotlin.Int = ..., /*1*/ y: kotlin.Int = ..., /*2*/ z: kotlin.Int = ...): kotlin.Unit
|
||||
Reference in New Issue
Block a user