fix tests in org.jetbrains.kotlin.serialization.builtins
This commit is contained in:
+7
-7
@@ -1,23 +1,23 @@
|
||||
package test
|
||||
|
||||
kotlin.annotation.annotation() internal final class AnnotationArray : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() public final class AnnotationArray : kotlin.Annotation {
|
||||
public constructor AnnotationArray(/*0*/ annotationArray: kotlin.Array<test.JustAnnotation>)
|
||||
internal final val annotationArray: kotlin.Array<test.JustAnnotation>
|
||||
public final val annotationArray: kotlin.Array<test.JustAnnotation>
|
||||
}
|
||||
|
||||
test.JustAnnotation(annotation = test.Empty()) test.AnnotationArray(annotationArray = {}) internal final class C1 {
|
||||
test.JustAnnotation(annotation = test.Empty()) test.AnnotationArray(annotationArray = {}) public final class C1 {
|
||||
public constructor C1()
|
||||
}
|
||||
|
||||
test.AnnotationArray(annotationArray = {test.JustAnnotation(annotation = test.Empty()), test.JustAnnotation(annotation = test.Empty())}) internal final class C2 {
|
||||
test.AnnotationArray(annotationArray = {test.JustAnnotation(annotation = test.Empty()), test.JustAnnotation(annotation = test.Empty())}) public final class C2 {
|
||||
public constructor C2()
|
||||
}
|
||||
|
||||
kotlin.annotation.annotation() internal final class Empty : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() public final class Empty : kotlin.Annotation {
|
||||
public constructor Empty()
|
||||
}
|
||||
|
||||
kotlin.annotation.annotation() internal final class JustAnnotation : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() public final class JustAnnotation : kotlin.Annotation {
|
||||
public constructor JustAnnotation(/*0*/ annotation: test.Empty)
|
||||
internal final val annotation: test.Empty
|
||||
public final val annotation: test.Empty
|
||||
}
|
||||
|
||||
+7
-7
@@ -1,24 +1,24 @@
|
||||
package test
|
||||
|
||||
test.JustEnum(weapon = Weapon.SCISSORS) test.EnumArray(enumArray = {}) internal final class C1 {
|
||||
test.JustEnum(weapon = Weapon.SCISSORS) test.EnumArray(enumArray = {}) public final class C1 {
|
||||
public constructor C1()
|
||||
}
|
||||
|
||||
test.EnumArray(enumArray = {Weapon.PAPER, Weapon.ROCK}) internal final class C2 {
|
||||
test.EnumArray(enumArray = {Weapon.PAPER, Weapon.ROCK}) public final class C2 {
|
||||
public constructor C2()
|
||||
}
|
||||
|
||||
kotlin.annotation.annotation() internal final class EnumArray : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() public final class EnumArray : kotlin.Annotation {
|
||||
public constructor EnumArray(/*0*/ enumArray: kotlin.Array<test.Weapon>)
|
||||
internal final val enumArray: kotlin.Array<test.Weapon>
|
||||
public final val enumArray: kotlin.Array<test.Weapon>
|
||||
}
|
||||
|
||||
kotlin.annotation.annotation() internal final class JustEnum : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() public final class JustEnum : kotlin.Annotation {
|
||||
public constructor JustEnum(/*0*/ weapon: test.Weapon)
|
||||
internal final val weapon: test.Weapon
|
||||
public final val weapon: test.Weapon
|
||||
}
|
||||
|
||||
internal final enum class Weapon : kotlin.Enum<test.Weapon> {
|
||||
public final enum class Weapon : kotlin.Enum<test.Weapon> {
|
||||
enum entry ROCK
|
||||
|
||||
enum entry PAPER
|
||||
|
||||
+11
-11
@@ -1,21 +1,21 @@
|
||||
package test
|
||||
|
||||
test.PrimitiveArrays(booleanArray = {true, false, true}, byteArray = {-7.toByte(), 7.toByte()}, charArray = {\u0025 ('%'), \u007A ('z')}, doubleArray = {-3.14.toDouble()}, floatArray = {2.72.toFloat(), 0.0.toFloat()}, intArray = {239017, -1}, longArray = {123456789123456789.toLong()}, shortArray = {239.toShort()}) internal final class C1 {
|
||||
test.PrimitiveArrays(booleanArray = {true, false, true}, byteArray = {-7.toByte(), 7.toByte()}, charArray = {\u0025 ('%'), \u007A ('z')}, doubleArray = {-3.14.toDouble()}, floatArray = {2.72.toFloat(), 0.0.toFloat()}, intArray = {239017, -1}, longArray = {123456789123456789.toLong()}, shortArray = {239.toShort()}) public final class C1 {
|
||||
public constructor C1()
|
||||
}
|
||||
|
||||
test.PrimitiveArrays(booleanArray = {}, byteArray = {}, charArray = {}, doubleArray = {}, floatArray = {}, intArray = {}, longArray = {}, shortArray = {}) internal final class C2 {
|
||||
test.PrimitiveArrays(booleanArray = {}, byteArray = {}, charArray = {}, doubleArray = {}, floatArray = {}, intArray = {}, longArray = {}, shortArray = {}) public final class C2 {
|
||||
public constructor C2()
|
||||
}
|
||||
|
||||
kotlin.annotation.annotation() internal final class PrimitiveArrays : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() public final class PrimitiveArrays : kotlin.Annotation {
|
||||
public constructor PrimitiveArrays(/*0*/ byteArray: kotlin.ByteArray, /*1*/ charArray: kotlin.CharArray, /*2*/ shortArray: kotlin.ShortArray, /*3*/ intArray: kotlin.IntArray, /*4*/ longArray: kotlin.LongArray, /*5*/ floatArray: kotlin.FloatArray, /*6*/ doubleArray: kotlin.DoubleArray, /*7*/ booleanArray: kotlin.BooleanArray)
|
||||
internal final val booleanArray: kotlin.BooleanArray
|
||||
internal final val byteArray: kotlin.ByteArray
|
||||
internal final val charArray: kotlin.CharArray
|
||||
internal final val doubleArray: kotlin.DoubleArray
|
||||
internal final val floatArray: kotlin.FloatArray
|
||||
internal final val intArray: kotlin.IntArray
|
||||
internal final val longArray: kotlin.LongArray
|
||||
internal final val shortArray: kotlin.ShortArray
|
||||
public final val booleanArray: kotlin.BooleanArray
|
||||
public final val byteArray: kotlin.ByteArray
|
||||
public final val charArray: kotlin.CharArray
|
||||
public final val doubleArray: kotlin.DoubleArray
|
||||
public final val floatArray: kotlin.FloatArray
|
||||
public final val intArray: kotlin.IntArray
|
||||
public final val longArray: kotlin.LongArray
|
||||
public final val shortArray: kotlin.ShortArray
|
||||
}
|
||||
|
||||
+11
-11
@@ -1,21 +1,21 @@
|
||||
package test
|
||||
|
||||
test.Primitives(boolean = true, byte = 7.toByte(), char = \u0025 ('%'), double = -3.14.toDouble(), float = 2.72.toFloat(), int = 239017, long = 123456789123456789.toLong(), short = 239.toShort()) internal final class C {
|
||||
test.Primitives(boolean = true, byte = 7.toByte(), char = \u0025 ('%'), double = -3.14.toDouble(), float = 2.72.toFloat(), int = 239017, long = 123456789123456789.toLong(), short = 239.toShort()) public final class C {
|
||||
public constructor C()
|
||||
}
|
||||
|
||||
test.Primitives(boolean = true, byte = 7.toByte(), char = \u0025 ('%'), double = -3.14.toDouble(), float = 2.72.toFloat(), int = 239017, long = 123456789123456789.toLong(), short = 239.toShort()) internal final class D {
|
||||
test.Primitives(boolean = true, byte = 7.toByte(), char = \u0025 ('%'), double = -3.14.toDouble(), float = 2.72.toFloat(), int = 239017, long = 123456789123456789.toLong(), short = 239.toShort()) public final class D {
|
||||
public constructor D()
|
||||
}
|
||||
|
||||
kotlin.annotation.annotation() internal final class Primitives : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() public final class Primitives : kotlin.Annotation {
|
||||
public constructor Primitives(/*0*/ byte: kotlin.Byte, /*1*/ char: kotlin.Char, /*2*/ short: kotlin.Short, /*3*/ int: kotlin.Int, /*4*/ long: kotlin.Long, /*5*/ float: kotlin.Float, /*6*/ double: kotlin.Double, /*7*/ boolean: kotlin.Boolean)
|
||||
internal final val boolean: kotlin.Boolean
|
||||
internal final val byte: kotlin.Byte
|
||||
internal final val char: kotlin.Char
|
||||
internal final val double: kotlin.Double
|
||||
internal final val float: kotlin.Float
|
||||
internal final val int: kotlin.Int
|
||||
internal final val long: kotlin.Long
|
||||
internal final val short: kotlin.Short
|
||||
public final val boolean: kotlin.Boolean
|
||||
public final val byte: kotlin.Byte
|
||||
public final val char: kotlin.Char
|
||||
public final val double: kotlin.Double
|
||||
public final val float: kotlin.Float
|
||||
public final val int: kotlin.Int
|
||||
public final val long: kotlin.Long
|
||||
public final val short: kotlin.Short
|
||||
}
|
||||
|
||||
+6
-6
@@ -1,19 +1,19 @@
|
||||
package test
|
||||
|
||||
test.JustString(string = "kotlin") test.StringArray(stringArray = {}) internal final class C1 {
|
||||
test.JustString(string = "kotlin") test.StringArray(stringArray = {}) public final class C1 {
|
||||
public constructor C1()
|
||||
}
|
||||
|
||||
test.StringArray(stringArray = {"java", ""}) internal final class C2 {
|
||||
test.StringArray(stringArray = {"java", ""}) public final class C2 {
|
||||
public constructor C2()
|
||||
}
|
||||
|
||||
kotlin.annotation.annotation() internal final class JustString : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() public final class JustString : kotlin.Annotation {
|
||||
public constructor JustString(/*0*/ string: kotlin.String)
|
||||
internal final val string: kotlin.String
|
||||
public final val string: kotlin.String
|
||||
}
|
||||
|
||||
kotlin.annotation.annotation() internal final class StringArray : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() public final class StringArray : kotlin.Annotation {
|
||||
public constructor StringArray(/*0*/ stringArray: kotlin.Array<kotlin.String>)
|
||||
internal final val stringArray: kotlin.Array<kotlin.String>
|
||||
public final val stringArray: kotlin.Array<kotlin.String>
|
||||
}
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
internal final enum class My : kotlin.Enum<test.My> {
|
||||
public final enum class My : kotlin.Enum<test.My> {
|
||||
enum entry ALPHA
|
||||
|
||||
enum entry BETA
|
||||
@@ -18,11 +18,11 @@ internal final enum class My : kotlin.Enum<test.My> {
|
||||
public final /*synthesized*/ fun values(): kotlin.Array<test.My>
|
||||
}
|
||||
|
||||
kotlin.annotation.annotation() internal final class ann : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() public final class ann : kotlin.Annotation {
|
||||
public constructor ann(/*0*/ vararg m: test.My /*kotlin.Array<out test.My>*/)
|
||||
internal final val m: kotlin.Array<out test.My>
|
||||
public final val m: kotlin.Array<out test.My>
|
||||
}
|
||||
|
||||
test.ann(m = {My.ALPHA, My.BETA}) kotlin.annotation.annotation() internal final class annotated : kotlin.Annotation {
|
||||
test.ann(m = {My.ALPHA, My.BETA}) kotlin.annotation.annotation() public final class annotated : kotlin.Annotation {
|
||||
public constructor annotated()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user