// !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_VARIABLE// KT-8596 Rewrite at slice LEXICAL_SCOPE for nested class constructor reference in an argument positionclassK{classNested}funfoo(f:Any){}funtest1(){foo(K::Nested)}// KT-10567 Error: Rewrite at slice LEXICAL_SCOPE key: REFERENCE_EXPRESSIONclassFoo(vala:String,valb:String)funtest2(){valprop:Foo.()->String=if(true){<!UNRESOLVED_REFERENCE!>Foo::a<!>}else{<!UNRESOLVED_REFERENCE!>Foo::b<!>}}