Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package test;
|
||||
|
||||
final class FieldAsVar {
|
||||
public int f;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
class FieldAsVar() {
|
||||
var f: Int = 1
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test;
|
||||
|
||||
final class FinalFieldAsVal {
|
||||
public final int f = 1;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
class FinalFieldAsVal() {
|
||||
val f: Int = 1
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test;
|
||||
|
||||
public final class Simple {
|
||||
public Simple() { }
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
class Simple()
|
||||
@@ -0,0 +1,6 @@
|
||||
package test;
|
||||
|
||||
final class TwoFields {
|
||||
int a;
|
||||
short b;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
class TwoFields() {
|
||||
var a: Int = 1
|
||||
var b: Short = 2;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
import java.util.Collection
|
||||
|
||||
val Collection<*>.anotherSize : Int
|
||||
get() = size()
|
||||
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
var Int.junk: Short
|
||||
get() = throw Exception()
|
||||
set(p: Short) = throw Exception()
|
||||
|
||||
val String.junk: Int
|
||||
get() = throw Exception()
|
||||
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
fun any(): Any = 1
|
||||
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
fun anyq(): Any? = 1
|
||||
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
fun fun1(): (String) -> Int = throw Exception()
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
import java.util.List
|
||||
|
||||
fun listOfAny(): List<Any> = throw Exception()
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
import java.util.List
|
||||
|
||||
fun listOfAnyQ(): List<Any?> = throw Exception()
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
import java.util.List
|
||||
|
||||
fun listOfStar(): List<*> = throw Exception()
|
||||
@@ -0,0 +1,8 @@
|
||||
import java.util.List
|
||||
|
||||
fun listOfStar(): List<*> = throw Exception()
|
||||
|
||||
// method: namespace::listOfStar
|
||||
// jvm signature: ()Ljava/util/List;
|
||||
// generic signature: ()Ljava/util/List<+Ljava/lang/Object;>;
|
||||
// kotlin signature: ()Ljava/util/List<+?Ljava/lang/Object;>;
|
||||
Reference in New Issue
Block a user