dave08
07/23/2018, 1:05 PMrobstoll
07/23/2018, 1:40 PMget ()
part not an assignment )cxt2.expected
to a local variable to circumvent the problemdave08
07/23/2018, 8:12 PMrobstoll
07/24/2018, 6:04 AMlazy
as special case. by
is delegation and as such re-called everytime. Hence the value could change from call to calllazy
could be unsynchronized in which case it theoretically could happen as well, that the first call returns non-null, where the second returns nulldave08
07/24/2018, 6:08 AMlateinit var
would be better? I guess it's not such a big deal, but I'm still wondering about that if (.. is null) ..toBe(null) else ... Now that there's toBe(null), I should have been able to do w/o the extra if, no?robstoll
07/24/2018, 6:09 AMdave08
07/24/2018, 6:22 AMif
check in the first place (we spoke about this once, I just don't know if the recent changes now permit this...)?robstoll
07/24/2018, 6:38 AMor
behaviour.isLessOrEquals
which is kind of a special case which is OK IMO