Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib
Mikhail Glukhikh 76b2b9fc66 K2: add test for KT-56520, case (7), qualifier receivers (3)
This commit covers object vs static member case,
when no companion objects are in the scope.
K1 reports UNRESOLVED_REFERENCE here, probably due to ambiguity.
About K2, while resolving Some.foo it first tries to resolve Some
as a "general" variable access, and gets two erroneous candidates
without companions. After it tries to resolve Some as a qualifier,
but we have no scope with a single qualifier.
That's why we finally report NONE_APPLICABLE on candidates with companions.
2023-12-04 21:50:45 +00:00
..
2022-02-25 11:46:27 +00:00
2023-12-01 12:05:12 +00:00
2023-12-01 12:05:12 +00:00
2021-05-28 15:36:24 +03:00
2022-09-19 19:12:20 +00:00
2022-02-17 15:04:36 +00:00