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
@@ -112,6 +112,7 @@ val jvmPhases = namedIrFilePhase<JvmBackendContext>(
|
||||
propertiesPhase then
|
||||
renameFieldsPhase then
|
||||
annotationPhase then
|
||||
tailrecPhase then
|
||||
|
||||
defaultArgumentStubPhase then
|
||||
|
||||
@@ -145,7 +146,6 @@ val jvmPhases = namedIrFilePhase<JvmBackendContext>(
|
||||
jvmStaticAnnotationPhase then
|
||||
staticDefaultFunctionPhase then
|
||||
|
||||
tailrecPhase then
|
||||
toArrayPhase then
|
||||
flattenStringConcatenationPhase then
|
||||
foldConstantLoweringPhase then
|
||||
|
||||
Reference in New Issue
Block a user