Handle TypeAliasDescriptor in AdaptiveClassifierNamePolicy
(as ClassDescriptor)
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
// !DIAGNOSTICS_NUMBER: 1
|
||||
// !DIAGNOSTICS: TYPE_MISMATCH
|
||||
// !MESSAGE_TYPE: HTML
|
||||
|
||||
package a.b.c
|
||||
|
||||
class G
|
||||
|
||||
typealias A = G
|
||||
|
||||
class D<T, A> {
|
||||
fun g(t: Map<T, a.b.c.A>) {
|
||||
}
|
||||
|
||||
fun <T> g(t1: Map<T, A>, t2: Int) {
|
||||
g(t1)
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
<!-- complexTypeMismatchWithTypeParametersAndTypeAlias1 -->
|
||||
<html>
|
||||
Type mismatch.
|
||||
<table>
|
||||
<tr>
|
||||
<td>Required:</td>
|
||||
<td>Map<`T#1<i> (type parameter of a.b.c.D)</i>, a.b.c.A<font color="808080"><i> /* = G */</i></font>></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Found:</td>
|
||||
<td>Map<`T#2<i> (type parameter of a.b.c.D.g)</i>, A#1<i> (type parameter of a.b.c.D)</i>></td>
|
||||
</tr>
|
||||
</table>
|
||||
</html>
|
||||
Reference in New Issue
Block a user