aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-integration-tests/testData/multiProjectSingleOut/subA/src/main/kotlin/module.kt
blob: 126d7f3e245c698d1e9215e245fae96fa486bc05 (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 s1

/**
 * Coolest one
 */
fun someCoolThing(s: String) = s.repeat(2)

/**
 * Just a class
 */
class MyClass {
    /**
     * Ultimate answer to all questions
     */
    fun otherworks(): Int = 42
}

/**
 * Just a SUPER class
 */
open class Super {
    /**
     * Same as [MyClass.otherworks]
     */
    fun foo(i: Int = 21) = i * 2

    /**
     * magic
     */
    open fun bar() = foo()
}