If `Result`’s `value` property is internal how can...
# announcements
j
If `Result`’s
value
property is internal how can accessors such as
fold
be marked as
inline
?
s
Does
value
have the
@PublishedApi
annotation?
j
@serebit Yes
s
Then that’s how.
@PublishedApi
can be used to allow inline functions or methods to access internal declarations in the same module
j
Thanks For anybody else who wanders into this thread: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-published-api/index.html