Tests for file structure
This commit is contained in:
@@ -0,0 +1 @@
|
||||
+EmptyFile.kt
|
||||
@@ -0,0 +1,2 @@
|
||||
-InheritedMembers.kt
|
||||
Test (<root>)
|
||||
@@ -0,0 +1,3 @@
|
||||
class Test {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
-SeveralClasses.kt
|
||||
A (<root>)
|
||||
B (<root>)
|
||||
Some (<root>)
|
||||
Other (<root>)
|
||||
@@ -0,0 +1,4 @@
|
||||
trait A
|
||||
open class B
|
||||
class Some: B(), A
|
||||
class Other: A
|
||||
@@ -0,0 +1,6 @@
|
||||
-Simple.kt
|
||||
-Test (<root>)
|
||||
str:kotlin.String
|
||||
some:kotlin.Int
|
||||
foo():kotlin.Int
|
||||
other():kotlin.Unit
|
||||
@@ -0,0 +1,5 @@
|
||||
class Test(val str: String) {
|
||||
private val some = 1
|
||||
protected fun foo() = some
|
||||
public fun other() {}
|
||||
}
|
||||
Reference in New Issue
Block a user