Add correct mapping of module descriptor to implementedDescriptor

Now implements dependency is taken into account here
Old commonModuleOrNull() was deleted
Test (JVM + 2xCommon) was added
This commit is contained in:
Mikhail Glukhikh
2017-10-09 15:07:40 +03:00
parent b5e2fa5f94
commit 4bfaa46c15
7 changed files with 57 additions and 31 deletions
@@ -0,0 +1,3 @@
// !CHECK_HIGHLIGHTING
class Some
@@ -0,0 +1,5 @@
// !CHECK_HIGHLIGHTING
expect class Expected {
val some: Some
}
@@ -0,0 +1,3 @@
actual class <lineMarker>Expected</lineMarker> {
actual val <lineMarker>some</lineMarker> = Some()
}