halirutan
01/29/2019, 5:41 PMPlugin [id: 'org.jetbrains.intellij', version: '0.5.0-SNAPSHOT'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'org.jetbrains.intellij:org.jetbrains.intellij.gradle.plugin:0.5.0-SNAPSHOT')
Searched in the following repositories:
Gradle Central Plugin Repository
Alex
06/12/2019, 4:20 PMdumptruckman
06/12/2019, 5:06 PMFudge
06/13/2019, 8:35 AMBounds are not allowed on type alias parameters
Why not?
also see <https://kotlinlang.slack.com/archives/C0922A726/p1560238282207200>
user
06/13/2019, 9:30 AMhttps://pbs.twimg.com/media/D8sbYjrW4AIGNil.png▾
bod
06/13/2019, 11:38 AM
also doesn't work 😞pp.amorim
06/14/2019, 11:53 AMpp.amorim
06/14/2019, 11:55 AMxenoterracide
06/14/2019, 4:24 PMError:java: com.sun.tools.javac.code.Symbol$CompletionFailure: class file for kotlin.jvm.functions.Function1 not found
xenoterracide
06/14/2019, 4:24 PMxenoterracide
06/14/2019, 4:24 PMfun connect(dto: FoleyDto, onPatientFound: (PatientDto) -> Unit) {
Tuan Kiet
06/15/2019, 1:27 AM()
LiveNavigator.() -> Unit
farzad
06/15/2019, 7:19 PMJan Stoltman
06/16/2019, 4:09 PMlet http200Status = (statusCode: 200, description: "OK")
print("The status code is \(http200Status.statusCode)")
// Prints "The status code is 200"
print("The status message is \(http200Status.description)")
// Prints "The status message is OK"
What I'm impressed by is that values can be retrieved from a tuple by their names. Is there something similar in Kotlin, other than a normal data class with two fields?user
06/17/2019, 9:30 AMIfvwm
06/18/2019, 4:09 AMgvnavin
06/18/2019, 5:08 AMegek
06/18/2019, 2:48 PMArtemHevorhian
06/18/2019, 6:29 PMevanchooly
06/18/2019, 6:56 PMIfvwm
06/19/2019, 1:51 AMspand
06/19/2019, 8:13 AMfun context() = func("")
fun func(str: String) : Unit = println(str.length)
to
fun context() = func("".length)
fun func(int: Int) : Unit = println(int)
Is there a refactoring for going back again ? ie. push parameter downczuckie
06/19/2019, 8:29 AMstr
being used at every callsite to str.length
- but, nothing is guaranteeing that you'll always be using a string and then getting its length to allow the reverse to be possibleMiguel
06/19/2019, 8:39 AMspand
06/19/2019, 8:39 AMuser
06/19/2019, 9:30 AMIfvwm
06/19/2019, 10:26 AMIfvwm
06/19/2019, 10:26 AMIcaro Temponi
06/19/2019, 1:14 PM