mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
Similarly to getFirstClassifierDiscriminateHeaders, we select the first non-header class if possible, otherwise we select just the first class. This makes sure that a reference will never be resolved to a header class if the corresponding impl class is present. Note that overall the issue may not be fixed yet, because there are other scopes where header classes are not yet discriminated (LazyImportScope, DeserializedMemberScope). However, at this point I cannot reproduce this problem with these other scopes #KT-15521 Fixed
8 lines
68 B
Plaintext
Vendored
8 lines
68 B
Plaintext
Vendored
-- Common --
|
|
Exit code: OK
|
|
Output:
|
|
|
|
-- JVM --
|
|
Exit code: OK
|
|
Output:
|