diff --git a/compiler/testData/readClass/type/ArrayOfCharSequence.kt b/compiler/testData/readClass/type/ArrayOfCharSequence.kt new file mode 100644 index 00000000000..8ba5d0f0661 --- /dev/null +++ b/compiler/testData/readClass/type/ArrayOfCharSequence.kt @@ -0,0 +1,3 @@ +package test + +fun nothing(): Array = throw Exception() diff --git a/compiler/testData/writeSignature/Int.kt b/compiler/testData/writeSignature/Int.kt new file mode 100644 index 00000000000..7b92774953a --- /dev/null +++ b/compiler/testData/writeSignature/Int.kt @@ -0,0 +1,6 @@ +fun key(): Int = throw Exception() + +// method: namespace::key +// jvm signature: ()I +// generic signature: null +// kotlin signature: ()I // TODO: make null diff --git a/compiler/testData/writeSignature/IntQ.kt b/compiler/testData/writeSignature/IntQ.kt new file mode 100644 index 00000000000..9f1c64ad65d --- /dev/null +++ b/compiler/testData/writeSignature/IntQ.kt @@ -0,0 +1,6 @@ +fun sometimes(): Int? = null + +// method: namespace::sometimes +// jvm signature: ()Ljava/lang/Integer; +// generic signature: null +// kotlin signature: ()?Ljava/lang/Integer; // TODO: need to skip kotlin signature