dmcg
12/15/2016, 8:02 PMOleksii
12/15/2016, 8:06 PMzak.taccardi
12/15/2016, 8:28 PMLazy
in Kotlin that can rebound when a certain condition is met?konsoletyper
12/15/2016, 8:30 PMroman.belov
12/15/2016, 8:58 PMDmitry Kandalov
12/15/2016, 9:27 PMDmitry Kandalov
12/15/2016, 9:28 PM"some string”.myMethod()
it would be great if IntelliJ suggested all possible imports for myMethod
orangy
Dmitry Kandalov
12/15/2016, 9:28 PMorangy
Dmitry Kandalov
12/15/2016, 9:29 PMorangy
kirillrakhman
12/15/2016, 9:53 PMDmitry Kandalov
12/15/2016, 9:55 PMjw
12/15/2016, 9:56 PMDmitry Kandalov
12/15/2016, 9:57 PMkirillrakhman
12/15/2016, 9:58 PMwith (instanceOfClass) {}
jw
12/15/2016, 9:58 PMDmitry Kandalov
12/15/2016, 9:59 PMkirillrakhman
12/15/2016, 10:00 PMobject O {
fun String.foo() = "bar"
}
fun baz() {
"".foo() //doesn't compile
}
Dmitry Kandalov
12/15/2016, 10:00 PMjw
12/15/2016, 10:00 PMjw
12/15/2016, 10:00 PMkirillrakhman
12/15/2016, 10:00 PMjw
12/15/2016, 10:00 PMkirillrakhman
12/15/2016, 10:00 PMkirillrakhman
12/15/2016, 10:01 PMfun O.baz() {
"".foo() //doesn't compile
}
with (O) {
"".foo()
}
Dmitry Kandalov
12/15/2016, 10:01 PMimport O.foo
, it’ll compilekirillrakhman
12/15/2016, 10:02 PM