blob: 542a3c52e9cf0508220832c1a28aaa988315ebf5 [file]
// RUN_PIPELINE_TILL: FRONTEND
// WITH_STDLIB
class Foo(val a: Int, b: Int) {
val c = a + b
val d: Int
get() = a
val e: Int
get() = <!UNRESOLVED_REFERENCE!>b<!>
val map: Map<String, Int> = <!TYPE_MISMATCH("String; Int"), TYPE_MISMATCH("Int; String"), TYPE_MISMATCH("Map<String, Int>; Map<String, String>")!>mapOf(1 to "hello")<!>
}
/* GENERATED_FIR_TAGS: additiveExpression, classDeclaration, getter, integerLiteral, primaryConstructor,
propertyDeclaration, stringLiteral */