[kotlin compiler][update] 1.3.20-dev-1253
This commit is contained in:
committed by
Vasily Levchenko
parent
f4e225df9e
commit
6e0cde1e30
+1
-1
@@ -748,7 +748,7 @@ abstract class ObjCExportHeaderGenerator(
|
|||||||
|
|
||||||
val arguments = (throwsAnnotation.allValueArguments.values.single() as ArrayValue).value
|
val arguments = (throwsAnnotation.allValueArguments.values.single() as ArrayValue).value
|
||||||
for (argument in arguments) {
|
for (argument in arguments) {
|
||||||
val classDescriptor = TypeUtils.getClassDescriptor((argument as KClassValue).value) ?: continue
|
val classDescriptor = TypeUtils.getClassDescriptor((argument as KClassValue).getArgumentType(method.module)) ?: continue
|
||||||
|
|
||||||
uncheckedExceptionClasses.firstOrNull { classDescriptor.isSubclassOf(it) }?.let {
|
uncheckedExceptionClasses.firstOrNull { classDescriptor.isSubclassOf(it) }?.let {
|
||||||
reportWarning(method,
|
reportWarning(method,
|
||||||
|
|||||||
@@ -2986,6 +2986,9 @@ task library_mismatch(type: RunStandaloneKonanTest) {
|
|||||||
def messages =
|
def messages =
|
||||||
"warning: skipping $dir/1.2/empty.klib. The library versions don't match. Expected '5.6', found '1.2'\n" +
|
"warning: skipping $dir/1.2/empty.klib. The library versions don't match. Expected '5.6', found '1.2'\n" +
|
||||||
"warning: skipping $dir/3.4/empty.klib. The target doesn't match. Expected '$currentTarget', found [$someOtherTarget]\n" +
|
"warning: skipping $dir/3.4/empty.klib. The target doesn't match. Expected '$currentTarget', found [$someOtherTarget]\n" +
|
||||||
|
"${project.rootProject.projectDir.path}/test.output/local/library_mismatch/hello.kt:1:10: warning: parameter 'args' is never used\n" +
|
||||||
|
"fun main(args: Array<String>) {\n" +
|
||||||
|
" ^\n" +
|
||||||
"Hello, versioned world!\n"
|
"Hello, versioned world!\n"
|
||||||
goldValue = isWindows() ? messages.replaceAll('\\/', '\\\\') : messages
|
goldValue = isWindows() ? messages.replaceAll('\\/', '\\\\') : messages
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,6 +37,8 @@ extend Function {
|
|||||||
|
|
||||||
extend Property {
|
extend Property {
|
||||||
repeated Annotation property_annotation = 170;
|
repeated Annotation property_annotation = 170;
|
||||||
|
repeated Annotation property_getter_annotation = 177;
|
||||||
|
repeated Annotation property_setter_annotation = 178;
|
||||||
optional bool has_backing_field = 171;
|
optional bool has_backing_field = 171;
|
||||||
optional bool used_as_variable = 172;
|
optional bool used_as_variable = 172;
|
||||||
optional Annotation.Argument.Value compile_time_value = 173;
|
optional Annotation.Argument.Value compile_time_value = 173;
|
||||||
|
|||||||
+2
@@ -11,6 +11,8 @@ object KonanSerializerProtocol : SerializerExtensionProtocol(
|
|||||||
KonanProtoBuf.classAnnotation,
|
KonanProtoBuf.classAnnotation,
|
||||||
KonanProtoBuf.functionAnnotation,
|
KonanProtoBuf.functionAnnotation,
|
||||||
KonanProtoBuf.propertyAnnotation,
|
KonanProtoBuf.propertyAnnotation,
|
||||||
|
KonanProtoBuf.propertyGetterAnnotation,
|
||||||
|
KonanProtoBuf.propertySetterAnnotation,
|
||||||
KonanProtoBuf.enumEntryAnnotation,
|
KonanProtoBuf.enumEntryAnnotation,
|
||||||
KonanProtoBuf.compileTimeValue,
|
KonanProtoBuf.compileTimeValue,
|
||||||
KonanProtoBuf.parameterAnnotation,
|
KonanProtoBuf.parameterAnnotation,
|
||||||
|
|||||||
+3
-3
@@ -19,9 +19,9 @@ 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
|
||||||
testDataVersion=1226829:id
|
testDataVersion=1226829:id
|
||||||
kotlinCompilerRepo=https://teamcity.jetbrains.com/guestAuth/app/rest/builds/buildType:(id:Kotlin_dev_CompilerAllPlugins),number:1.3.20-dev-1048,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.20-dev-1253,tag:kotlin-native,pinned:true/artifacts/content/maven
|
||||||
kotlinVersion=1.3.20-dev-1048
|
kotlinVersion=1.3.20-dev-1253
|
||||||
testKotlinVersion=1.3.20-dev-1206
|
testKotlinVersion=1.3.20-dev-1253
|
||||||
konanVersion=1.1.0
|
konanVersion=1.1.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
|
||||||
|
|||||||
@@ -272,12 +272,12 @@ class ContentsTest {
|
|||||||
class Foo constructor() {
|
class Foo constructor() {
|
||||||
@A val annotated: Int = 0
|
@A val annotated: Int = 0
|
||||||
var annotatedAccessors: Int
|
var annotatedAccessors: Int
|
||||||
get
|
@A get
|
||||||
set
|
@A set
|
||||||
val annotatedGetter: Int = 0
|
val annotatedGetter: Int = 0
|
||||||
get
|
@A get
|
||||||
var annotatedSetter: Int
|
var annotatedSetter: Int
|
||||||
set
|
@A set
|
||||||
var privateSetter: Int
|
var privateSetter: Int
|
||||||
private set
|
private set
|
||||||
protected val protectedSimple: Int = 0
|
protected val protectedSimple: Int = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user