Update compiler to 1.3.30-dev-445
This commit is contained in:
committed by
Pavel Punegov
parent
3d5aac2f33
commit
ff2ab80e3e
+1
@@ -1328,6 +1328,7 @@ internal class CodeGeneratorVisitor(val context: Context, val lifetimes: Map<IrE
|
|||||||
IrTypeOperator.SAFE_CAST -> throw IllegalStateException("safe cast wasn't lowered")
|
IrTypeOperator.SAFE_CAST -> throw IllegalStateException("safe cast wasn't lowered")
|
||||||
IrTypeOperator.INSTANCEOF -> evaluateInstanceOf(value)
|
IrTypeOperator.INSTANCEOF -> evaluateInstanceOf(value)
|
||||||
IrTypeOperator.NOT_INSTANCEOF -> evaluateNotInstanceOf(value)
|
IrTypeOperator.NOT_INSTANCEOF -> evaluateNotInstanceOf(value)
|
||||||
|
IrTypeOperator.SAM_CONVERSION -> TODO(ir2string(value))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -789,7 +789,8 @@ internal class DeepCopyIrTreeWithDescriptors(val targetDescriptor: FunctionDescr
|
|||||||
IrTypeOperator.IMPLICIT_CAST,
|
IrTypeOperator.IMPLICIT_CAST,
|
||||||
IrTypeOperator.IMPLICIT_NOTNULL,
|
IrTypeOperator.IMPLICIT_NOTNULL,
|
||||||
IrTypeOperator.IMPLICIT_COERCION_TO_UNIT,
|
IrTypeOperator.IMPLICIT_COERCION_TO_UNIT,
|
||||||
IrTypeOperator.IMPLICIT_INTEGER_COERCION -> type
|
IrTypeOperator.IMPLICIT_INTEGER_COERCION,
|
||||||
|
IrTypeOperator.SAM_CONVERSION -> type
|
||||||
IrTypeOperator.SAFE_CAST -> type.makeNullable()
|
IrTypeOperator.SAFE_CAST -> type.makeNullable()
|
||||||
IrTypeOperator.INSTANCEOF,
|
IrTypeOperator.INSTANCEOF,
|
||||||
IrTypeOperator.NOT_INSTANCEOF -> context.irBuiltIns.booleanType
|
IrTypeOperator.NOT_INSTANCEOF -> context.irBuiltIns.booleanType
|
||||||
|
|||||||
+1
@@ -382,6 +382,7 @@ internal class EnumClassLowering(val context: Context) : ClassLoweringPass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return IrAnonymousInitializerImpl(startOffset, endOffset, DECLARATION_ORIGIN_ENUM, loweredEnum.implObject.descriptor).apply {
|
return IrAnonymousInitializerImpl(startOffset, endOffset, DECLARATION_ORIGIN_ENUM, loweredEnum.implObject.descriptor).apply {
|
||||||
|
parent = irClass
|
||||||
body = context.createIrBuilder(symbol, startOffset, endOffset).irBlockBody(irClass) {
|
body = context.createIrBuilder(symbol, startOffset, endOffset).irBlockBody(irClass) {
|
||||||
val instances = irTemporary(irGetField(irGet(loweredEnum.implObject.thisReceiver!!), loweredEnum.valuesField))
|
val instances = irTemporary(irGetField(irGet(loweredEnum.implObject.thisReceiver!!), loweredEnum.valuesField))
|
||||||
enumEntries
|
enumEntries
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ repositories {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
cli_bc project(path: ':backend.native', configuration: 'cli_bc')
|
cli_bc project(path: ':backend.native', configuration: 'cli_bc')
|
||||||
update_tests (group: 'org', name: 'Kotlin_1320_CompilerAllPlugins', version: testKotlinVersion) {
|
update_tests (group: 'org', name: 'Kotlin_dev_CompilerAllPlugins', version: testKotlinVersion) {
|
||||||
artifact {
|
artifact {
|
||||||
name = 'internal/kotlin-test-data'
|
name = 'internal/kotlin-test-data'
|
||||||
type = 'zip'
|
type = 'zip'
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@ import org.jetbrains.kotlin.resolve.lazy.DelegationFilter
|
|||||||
import org.jetbrains.kotlin.resolve.scopes.SyntheticScopes
|
import org.jetbrains.kotlin.resolve.scopes.SyntheticScopes
|
||||||
import org.jetbrains.kotlin.types.DynamicTypesSettings
|
import org.jetbrains.kotlin.types.DynamicTypesSettings
|
||||||
|
|
||||||
object KonanPlatformConfigurator : PlatformConfigurator(
|
object KonanPlatformConfigurator : PlatformConfiguratorBase(
|
||||||
DynamicTypesSettings(),
|
DynamicTypesSettings(),
|
||||||
additionalDeclarationCheckers = listOf(ExpectedActualDeclarationChecker()),
|
additionalDeclarationCheckers = listOf(ExpectedActualDeclarationChecker()),
|
||||||
additionalCallCheckers = listOf(
|
additionalCallCheckers = listOf(
|
||||||
|
|||||||
+3
-3
@@ -18,9 +18,9 @@
|
|||||||
buildKotlinVersion=1.3.0-rc-116
|
buildKotlinVersion=1.3.0-rc-116
|
||||||
buildKotlinCompilerRepo=https://teamcity.jetbrains.com/guestAuth/app/rest/builds/buildType:(id:Kotlin_130_CompilerAllPlugins),number:1.3.0-rc-116,tag:kotlin-native,pinned:true/artifacts/content/maven
|
buildKotlinCompilerRepo=https://teamcity.jetbrains.com/guestAuth/app/rest/builds/buildType:(id:Kotlin_130_CompilerAllPlugins),number:1.3.0-rc-116,tag:kotlin-native,pinned:true/artifacts/content/maven
|
||||||
remoteRoot=konan_tests
|
remoteRoot=konan_tests
|
||||||
kotlinCompilerRepo=https://teamcity.jetbrains.com/guestAuth/app/rest/builds/buildType:(id:Kotlin_1320_CompilerAllPlugins),number:1.3.20-eap-15,tag:kotlin-native,pinned:true/artifacts/content/maven
|
kotlinCompilerRepo=https://teamcity.jetbrains.com/guestAuth/app/rest/builds/buildType:(id:Kotlin_dev_CompilerAllPlugins),number:1.3.30-dev-445,pinned:false/artifacts/content/maven
|
||||||
kotlinVersion=1.3.20-eap-15
|
kotlinVersion=1.3.30-dev-445
|
||||||
testKotlinVersion=1.3.20-eap-15
|
testKotlinVersion=1.3.30-dev-445
|
||||||
konanVersion=1.2.0
|
konanVersion=1.2.0
|
||||||
org.gradle.jvmargs='-Dfile.encoding=UTF-8'
|
org.gradle.jvmargs='-Dfile.encoding=UTF-8'
|
||||||
org.gradle.workers.max=4
|
org.gradle.workers.max=4
|
||||||
|
|||||||
Reference in New Issue
Block a user