cedric
04/20/2017, 2:58 PMvinicius.rob.cunha
04/20/2017, 5:22 PMorangy
04/20/2017, 6:34 PMSlackbot
04/20/2017, 8:00 PMgroostav
04/21/2017, 6:08 AMvitruvia
04/21/2017, 1:08 PMmg6maciej
04/21/2017, 10:30 PMorangy
04/22/2017, 11:31 AMorangy
04/22/2017, 11:59 AMraulraja
04/22/2017, 12:40 PMall-open
plugin, do you know where it actually performs either the AST transformation or class rewrite to open it? I have not been able to find the sources for that part and that could help me get started.mg6maciej
04/22/2017, 2:07 PMcopy
for certain data classes?
I have a class where first two props are `Int`s and wanted to change the second, but forgot to use name of property. Found after like 5 minutes.poohbar
04/23/2017, 12:10 PMCzar
04/24/2017, 9:29 AMaidanvii
04/24/2017, 10:59 AMprovideDelegate
operator.
The example code on the documentation is slightly confusing: https://kotlinlang.org/docs/reference/delegated-properties.html
Does this create an instance of ResourceLoader
which then creates the delegate? Will the ResourceLoader
be gc’d after it’s created the delegate?
It also mentions it can be done with an extension function, but there is no example of this.poohbar
04/24/2017, 3:52 PMthymecypher
04/24/2017, 6:46 PMmanijshrestha
04/24/2017, 8:07 PMSince 1.1, data classes may extend other classes
.?
I am trying to achieve
data class Person(val name: String)
data class Employee(val id: String, val name:String) : Person(name)
redrield
04/25/2017, 12:03 AMmg6maciej
04/25/2017, 12:52 AMCzar
04/25/2017, 2:34 PMnesl247
04/25/2017, 6:05 PMinCompilationProduct.toCompiledProduct().shouldEqual(expected)
using Kluent. I’ve tried with assertEquals from Junit just to be sure it wasn’t something Kluent was doing, but it isn’t.trevjones
04/26/2017, 12:20 AMpniederw
04/26/2017, 12:39 AMmzgreen
04/26/2017, 11:40 AMorangy
04/26/2017, 12:12 PMCzar
04/26/2017, 1:22 PMjean
04/26/2017, 7:12 PMjw
04/27/2017, 4:35 AMpabl0rg
04/27/2017, 9:57 AMptashcka
04/27/2017, 1:05 PMptashcka
04/27/2017, 1:05 PMilya.gorbunov
04/27/2017, 2:37 PMNaN == NaN
are compared as IEEE numbers and that results in false, however NaN.equals(NaN)
are compared as boxed objects and results in trueptashcka
04/27/2017, 4:53 PM