K2 JVM: Take JVM declarations conflicting error back

Since SimpleDiagnosticsCollectorWithSuppress have been replaced by
PendingDiagnosticsCollectorWithSuppress after commit 9add6f3d55,
diagnostics need to be committed now.

#KT-54366 Fixed
This commit is contained in:
Xin Wang
2022-10-09 14:24:39 +08:00
committed by Space Team
parent 51619e0969
commit 69a4de0461
6 changed files with 52 additions and 1 deletions
@@ -0,0 +1,9 @@
class Foo {
val x: Int
get() = 42
fun getX() = 42
@JvmName("getX")
fun getY() = 42
}