Improve message clarity for WRONG_NUMBER_OF_TYPE_ARGUMENTS diagnostics

#KT-9887 Fixed
This commit is contained in:
Pavel V. Talanov
2016-03-10 14:17:28 +03:00
parent d6cd46e079
commit 7de171efda
23 changed files with 75 additions and 40 deletions
@@ -51,16 +51,16 @@ End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Type argument expected
Type argument expected
Type argument expected
One type argument expected for class A<T> defined in foo
One type argument expected for class A<T> defined in foo
One type argument expected for class A<T> defined in foo
Type inference failed: Not enough information to infer parameter T in constructor A<T>()
Please specify it explicitly.
Type inference failed: Not enough information to infer parameter T in constructor A<T>()
Please specify it explicitly.
Type inference failed: Not enough information to infer parameter T in constructor A<T>()
Please specify it explicitly.
Type argument expected
One type argument expected for class A<T> defined in foo
================ Step #2 =================