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