Ivan Kochurkin
dd54338ec0
[FIR] Fix positioning and detecting of WRONG_NUMBER_OF_TYPE_ARGUMENTS
...
Refactor code and fix compilation errors caused by changes to symbol.fir
2021-07-15 19:02:58 +03:00
Mikhail Glukhikh
551bdd267d
[FIR] Introduce WRONG_NUMBER_OF_TYPE_ARGUMENTS diagnostic
2020-08-02 18:19:44 +03:00
Mikhail Glukhikh
0804c6a0f3
[FIR] Introduce TYPE_ARGUMENTS_NOT_ALLOWED & some other type errors
...
This commit introduces several different things, in particular:
- check type arguments in expressions
- new TypeArgumentList node to deal with diagnostic source
- ConeDiagnostic was moved to fir:cones
- ConeIntermediateDiagnostic to use in inference (?) without reporting
- detailed diagnostics on error type
2020-08-02 18:19:44 +03:00
Dmitriy Novozhilov
2536fa0cd5
[FIR-TEST] Add new testdata generated after changes in previous commit
2019-12-12 16:11:46 +03:00
Denis Zharkov
60a0cd8cfd
Do not add error types as upper bounds in type parameter
...
#KT-10237 Fixed
#KT-11821 Fixed
#KT-8200 Fixed
2016-07-04 18:16:05 +03:00
Ilya Gorbunov
f4822cd757
Fix testData in compiler: add collections and ranges package to fq-names.
2016-01-22 05:54:38 +03:00
Michael Nedzelsky
c123af75fd
issue warning instead of error in case of finite bound or non-expansive inheritance violation in java code
2015-10-28 17:02:02 +03:00
Michael Nedzelsky
1c36090b6d
check for violation of Finite Bound Restriction and Non-Expansive Inheritance Restriction
2015-10-20 20:06:07 +03:00