[kotlin compiler][update] 1.3.20-dev-1253

This commit is contained in:
Vasily Levchenko
2018-10-29 15:14:08 +03:00
committed by Vasily Levchenko
parent f4e225df9e
commit 6e0cde1e30
6 changed files with 15 additions and 8 deletions
@@ -748,7 +748,7 @@ abstract class ObjCExportHeaderGenerator(
val arguments = (throwsAnnotation.allValueArguments.values.single() as ArrayValue).value
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 {
reportWarning(method,
+3
View File
@@ -2986,6 +2986,9 @@ task library_mismatch(type: RunStandaloneKonanTest) {
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/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"
goldValue = isWindows() ? messages.replaceAll('\\/', '\\\\') : messages
}
@@ -37,6 +37,8 @@ extend Function {
extend Property {
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 used_as_variable = 172;
optional Annotation.Argument.Value compile_time_value = 173;
@@ -11,6 +11,8 @@ object KonanSerializerProtocol : SerializerExtensionProtocol(
KonanProtoBuf.classAnnotation,
KonanProtoBuf.functionAnnotation,
KonanProtoBuf.propertyAnnotation,
KonanProtoBuf.propertyGetterAnnotation,
KonanProtoBuf.propertySetterAnnotation,
KonanProtoBuf.enumEntryAnnotation,
KonanProtoBuf.compileTimeValue,
KonanProtoBuf.parameterAnnotation,
+3 -3
View File
@@ -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
remoteRoot=konan_tests
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
kotlinVersion=1.3.20-dev-1048
testKotlinVersion=1.3.20-dev-1206
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-1253
testKotlinVersion=1.3.20-dev-1253
konanVersion=1.1.0
org.gradle.jvmargs='-Dfile.encoding=UTF-8'
org.gradle.workers.max=4
@@ -272,12 +272,12 @@ class ContentsTest {
class Foo constructor() {
@A val annotated: Int = 0
var annotatedAccessors: Int
get
set
@A get
@A set
val annotatedGetter: Int = 0
get
@A get
var annotatedSetter: Int
set
@A set
var privateSetter: Int
private set
protected val protectedSimple: Int = 0