FIR: Update test data (repeated diagnostics)
They are a bit redundant, but it needs additional work to be done to avoid them
This commit is contained in:
committed by
teamcityserver
parent
dbc0ebd861
commit
00821bbc63
+19
@@ -0,0 +1,19 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
// !WITH_NEW_INFERENCE
|
||||
|
||||
interface JPAEntityClass<D> {
|
||||
fun <T> T.findByName(s: String): D {null!!}
|
||||
}
|
||||
|
||||
class Foo {
|
||||
companion object : JPAEntityClass<Foo>
|
||||
}
|
||||
|
||||
fun main() {
|
||||
with("", {
|
||||
<!ARGUMENT_TYPE_MISMATCH!>Foo.<!UNRESOLVED_REFERENCE!>findByName<!>("")<!>
|
||||
})
|
||||
with(Foo) {
|
||||
findByName("")
|
||||
}
|
||||
}
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// FIR_IDENTICAL
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
// !WITH_NEW_INFERENCE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user