Piotr Krzemiński
12/02/2021, 12:38 PMPiotr Krzemiński
12/02/2021, 12:43 PMFile being compiled: /home/runner/work/kotlin-python/kotlin-python/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/extensions/FirDeclarationGenerationExtension.kt
> Task :compiler:fir:resolve:compileKotlin FAILED
The root cause java.lang.RuntimeException was thrown at: org.jetbrains.kotlin.backend.jvm.codegen.FunctionCodegen.generate(FunctionCodegen.kt:50)
at org.jetbrains.kotlin.backend.common.CodegenUtil.reportBackendException(CodegenUtil.kt:239)
...
Caused by: java.lang.RuntimeException: Exception while generating code for:
FUN CLASS_STATIC_INITIALIZER name:<clinit> visibility:public/*package*/ modality:FINAL <> () returnType:kotlin.Unit
BLOCK_BODY
SET_FIELD 'FIELD GENERATED_PROPERTY_REFERENCE name:$$delegatedProperties type:kotlin.Array<out kotlin.reflect.KProperty<out kotlin.Any?>> visibility:public/*package*/ [final,static]' type=kotlin.Unit origin=INITIALIZE_FIELD
value: BLOCK type=kotlin.Array<out kotlin.reflect.KProperty<out kotlin.Any?>> origin=null
VAR IR_TEMPORARY_VARIABLE name:tmp0 type:kotlin.Array<out kotlin.reflect.KProperty<out kotlin.Any?>> [val]
CALL 'public final fun arrayOfNulls <T> (size: <http://kotlin.Int|kotlin.Int>): kotlin.Array<T of kotlin.arrayOfNulls?> declared in kotlin' type=kotlin.Array<out kotlin.reflect.KProperty<out kotlin.Any?>> origin=null
<T>: kotlin.reflect.KProperty<out kotlin.Any?>
size: CONST Int type=<http://kotlin.Int|kotlin.Int> value=1
CALL 'public final fun set (index: <http://kotlin.Int|kotlin.Int>, value: T of kotlin.Array): kotlin.Unit [operator] declared in kotlin.Array' type=kotlin.Unit origin=null
dmitriy.novozhilov
12/02/2021, 12:51 PMPiotr Krzemiński
12/02/2021, 1:04 PMv1.6.0
. Source commit: https://github.com/krzema12/kotlin-python/commit/829d1d887636689955b56beebdbb8725e908ef0fPiotr Krzemiński
12/10/2021, 12:23 PMdmitriy.novozhilov
12/10/2021, 12:30 PMmaster
branch almost always can be compiled and all tests are passed, and for release branches there can not be a situation that compiler build fails (and commit you rebased on is from release branch)dmitriy.novozhilov
12/10/2021, 12:31 PM