blob: 8a87590abead26317f7cf84b9aa866257212d0ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
package s2
import s1.Super
import s1.MyClass
import s1.someCoolThing
/**
* Just an entry-point
*/
fun main(args: Array<String>) {
}
/**
* Take a glass of hot water
*/
class Cooler {
val myClass = MyClass()
val a = myClass.otherworks()
val coolest = someCoolThing()
}
/**
* Powerful
*/
class Superful : Super() {
/**
* Overriden magic
*/
override fun bar() = foo(20) * 2
}
|