Join Slack
Are `actual` implementations restricted to the `expect` declaration module?
# multiplatform
p
pardom
05/16/2019, 4:22 PM
Are
actual
implementations restricted to the
expect
declaration module?
h
h0tk3y
05/16/2019, 5:20 PM
Yes, they are. This is an intentional restriction, as allowing
actual
implementations in other modules could lead to getting multiple implementations of a single
expect
declaration on the classpath through transitive dependencies on multiple implementing modules. Therefore it was prohibited.
p
pardom
05/16/2019, 5:23 PM
Okay, that’s what I was thinking. Thanks.
3
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by