[FIR] Introduce WRONG_NUMBER_OF_TYPE_ARGUMENTS diagnostic

This commit is contained in:
Mikhail Glukhikh
2020-07-27 12:53:38 +03:00
parent 0804c6a0f3
commit 551bdd267d
11 changed files with 17 additions and 13 deletions
@@ -43,5 +43,5 @@ interface Test<in I, out O, P> {
var neOk32: <!OTHER_ERROR, OTHER_ERROR, OTHER_ERROR!>Inv<!>
var neOk33: Inv<<!SYNTAX!><!>>
var neOk34: <!OTHER_ERROR, OTHER_ERROR, OTHER_ERROR!>Inv<C><!>
var neOk35: <!OTHER_ERROR, OTHER_ERROR, OTHER_ERROR!>Inv<P, P><!>
var neOk35: <!WRONG_NUMBER_OF_TYPE_ARGUMENTS, WRONG_NUMBER_OF_TYPE_ARGUMENTS, WRONG_NUMBER_OF_TYPE_ARGUMENTS!>Inv<P, P><!>
}