Minor. Test class renamed
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
class WithClassObject {
|
||||
class object {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
class C() {
|
||||
fun V.f() : {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
fun V.f() {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
package test
|
||||
|
||||
class NoModifiers
|
||||
|
||||
// Visibility
|
||||
public class Public
|
||||
private class Private
|
||||
internal class Internal
|
||||
class Outer {
|
||||
public class Public
|
||||
protected class Protected
|
||||
private class Private
|
||||
internal class Internal
|
||||
|
||||
inner class Inner
|
||||
}
|
||||
|
||||
// Modality
|
||||
abstract class Abstract
|
||||
open class Open
|
||||
final class Final
|
||||
|
||||
// Special
|
||||
annotation class Annotation
|
||||
enum class Enum
|
||||
trait Trait
|
||||
|
||||
// Deprecation
|
||||
deprecated("") class Deprecated
|
||||
kotlin.deprecated("") class DeprecatedFQN
|
||||
kotlin. deprecated /**/ ("") class DeprecatedFQNSpaces
|
||||
[deprecated("")] class DeprecatedWithBrackets
|
||||
[kotlin.deprecated("")] class DeprecatedWithBracketsFQN
|
||||
[kotlin
|
||||
./**/deprecated ("")] class DeprecatedWithBracketsFQNSpaces
|
||||
|
||||
// Generic
|
||||
class Generic1<T>
|
||||
class Generic2<A, B>
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
class Generic1<T>
|
||||
class Generic1WithBounds<T: Bound1>
|
||||
|
||||
class Generic2<A, B>
|
||||
class Generic2WithBounds<A, B> where A: Bound1, A: Bound2, B: Generic1<A>
|
||||
|
||||
class Bound1
|
||||
trait Bound2
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
fun foo()
|
||||
Reference in New Issue
Block a user