sorry for all these questions, but am I being dumb...
# announcements
a
sorry for all these questions, but am I being dumb? pretty sure this should work with the
out
keyword
k
BackGroundAction.() -> Unit
is not a subtype of
PeriodicAction.() -> Unit
.
In fact it's the opposite way around.
It may be easier to see with
(Int) -> Unit
and
(Any) -> Unit
a
oh, I see. I'm dumb
t
You aren’t dumb. This is how we learn things.
a
btw @todd.ginsberg have to compliment you on your AoC repo. 🙂 helped me learn a lot of Kotlin fundamentals
t
Awesome! I’m so glad it helped!