[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
// !LANGUAGE: -ProhibitOperatorMod
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
class A {
|
||||
operator fun Int.mod(s: String) = 4
|
||||
}
|
||||
|
||||
class B {
|
||||
operator fun Int.rem(s: String) = ""
|
||||
}
|
||||
|
||||
fun test() {
|
||||
with(B()) {
|
||||
with(A()) {
|
||||
<!INAPPLICABLE_CANDIDATE!>takeString<!>(1 % "")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun takeString(s: String) {}
|
||||
Reference in New Issue
Block a user