blob: d1b927f95e2f49b68e0860503e0992dbcd3ec1a5 [file]
// RUN_PIPELINE_TILL: CODEGEN
// ISSUE: KT-72197
// WITH_EXPERIMENTAL_CHECKERS
// FILE: Foo.java
public class Foo {
// Only happens with synthetic properties
public void setIntegerProp(int value) {}
public int getIntegerProp() { return 0; }
}
// FILE: Main.kt
fun main() {
val foo = Foo()
val bar = 1L
foo.integerProp = bar.toInt()
}
/* GENERATED_FIR_TAGS: assignment, functionDeclaration, javaFunction, javaProperty, javaType, localProperty,
propertyDeclaration */