[FIR] Fix calculating of source of TypeArgumentList, add source to FirQualifierPart

Fix positioning for TYPE_ARGUMENTS_NOT_ALLOWED
This commit is contained in:
Ivan Kochurkin
2021-07-06 22:21:33 +03:00
committed by TeamCityServer
parent 28a6928873
commit 0c25d280ee
8 changed files with 34 additions and 19 deletions
@@ -1,7 +1,7 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
fun <T> foo(t: <!TYPE_ARGUMENTS_NOT_ALLOWED!>T<String, Int><!>) {}
fun <T> foo(t: T<!TYPE_ARGUMENTS_NOT_ALLOWED!><String, Int><!>) {}
interface A
class B<T: A>
fun <T> foo1(t: <!TYPE_ARGUMENTS_NOT_ALLOWED!>T<B<String>><!>) {}
fun <T> foo1(t: T<!TYPE_ARGUMENTS_NOT_ALLOWED!><B<String>><!>) {}