FIR: preserve diagnostics in createResolvedNamedReference

This commit is contained in:
Tianyu Geng
2021-09-16 11:22:03 -07:00
committed by TeamCityServer
parent 1b6fa4303f
commit 7aaac2573c
3 changed files with 30 additions and 16 deletions
@@ -40,7 +40,7 @@ fun test() {
baz {
y()
<!UNRESOLVED_REFERENCE!>x<!>()
<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>x<!>()
with(D()) {
x()
@@ -36,7 +36,7 @@ fun test() {
baz {
y()
<!UNRESOLVED_REFERENCE!>x<!>()
<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>x<!>()
with(D()) {
x()