[Expect/Actual] Add testdata on hierarchical expect/actual matching

This commit is contained in:
Dmitry Savvinov
2019-04-23 20:59:07 +03:00
parent cac326bf4a
commit 54b8f9da28
70 changed files with 508 additions and 20 deletions
@@ -0,0 +1,3 @@
// Note that here we have no ambiguity, becuase we don't consider
// declarations without 'expect' as potential weakly-compatible 'expect'-counterpart
actual class A
@@ -0,0 +1,6 @@
MODULE right { platform=[JVM, Native] }
MODULE left { platform=[JVM, JS] }
MODULE bottom { platform=[JVM] }
bottom -> right { kind=DEPENDS_ON }
bottom -> left { kind=DEPENDS_ON }
@@ -0,0 +1 @@
expect class <!AMBIGUOUS_ACTUALS("Class 'A'", "bottom.kt, right.kt")!>A<!>