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
}
}
holgerbrandl
01/12/2021, 11:18 PMchristophsturm
01/13/2021, 11:39 AMchristophsturm
01/13/2021, 11:40 AMholgerbrandl
01/13/2021, 12:05 PMchristophsturm
01/13/2021, 12:41 PMholgerbrandl
01/13/2021, 1:12 PMholgerbrandl
01/13/2021, 1:12 PMclass Something
fun foo(builder: () -> Unit){
builder()
}
foo{
println("huhu")
val a = Something()
}
holgerbrandl
01/13/2021, 1:13 PMSomething
may have a side effectholgerbrandl
01/13/2021, 1:23 PM