holgerbrandl
01/12/2021, 6:32 PMchristophsturm
01/12/2021, 9:14 PMholgerbrandl
01/12/2021, 9:45 PMchristophsturm
01/12/2021, 10:50 PMholgerbrandl
01/12/2021, 11:18 PMfoo
. This fails for me, but it works for other
fun foo(){
println("huhu")
val a = 1
}
class IntroTest {
fun other(){
println("huhu")
val a = 1
}
}
christophsturm
01/13/2021, 11:39 AMholgerbrandl
01/13/2021, 12:05 PMchristophsturm
01/13/2021, 12:41 PMholgerbrandl
01/13/2021, 1:12 PMclass Something
fun foo(builder: () -> Unit){
builder()
}
foo{
println("huhu")
val a = Something()
}
Something
may have a side effect