| // RUN_PIPELINE_TILL: FRONTEND |
| // RENDER_DIAGNOSTICS_FULL_TEXT |
| |
| internal interface Inter { |
| fun foo() = 10 |
| } |
| |
| class Wrapper<T>(val it: T) |
| |
| fun <T: <!EXPOSED_TYPE_PARAMETER_BOUND!>Inter?<!>> public(a: T & Any) = Wrapper(a) |
| |
| fun <!EXPOSED_FUNCTION_RETURN_TYPE!>other<!>() = public(object : Inter {}) |
| |
| /* GENERATED_FIR_TAGS: anonymousObjectExpression, classDeclaration, dnnType, functionDeclaration, integerLiteral, |
| interfaceDeclaration, nullableType, outProjection, primaryConstructor, propertyDeclaration, typeConstraint, |
| typeParameter */ |