Mikhail Glukhikh
3fbb7bc920
K2: report MISSING_DEPENDENCY_CLASS in case of error type of expression
...
This commit is intended to get a more clear diagnostic in case when
the type checker creates an inconsistent error type due to some
classifier inaccessibility. Before this commit, we reported simply
ARGUMENT_TYPE_MISMATCH (see test). Now we report also
MISSING_DEPENDENCY_CLASS by analyzing an error type of a qualified
expression.
#KT-66356 Fixed
2024-03-18 18:11:14 +00:00
Evgeniy.Zhelenskiy
7eab4b672d
[K1, K2, CLI] Mark whole position range of compiler diagnostics in CLI
...
#KT-64989
2024-02-08 12:59:31 +00:00
Mikhail Glukhikh
8a560d2629
FE tests: don't render text of disabled diagnostics
2024-01-05 17:20:32 +00:00
Mikhail Glukhikh
c322644860
K2: report only warning on lambda parameters with missing dependencies
...
During the fix of KT-62525, we've forbidden to use lambda parameters
with inaccessible types at all. After it, some impact was noticed,
so we decided to forbid them only in case it's necessary
(the case when associated types have type arguments, see KT-62525
description), and to deprecate them in other cases.
#KT-64266 Fixed
2023-12-20 12:48:00 +00:00
Mikhail Glukhikh
44aa2d86d3
K2: add test to reproduce KT-64266
2023-12-20 12:47:59 +00:00
Mikhail Glukhikh
06ce57ea56
K2: report MISSING_DEPENDENCY_CLASS for lambda parameters if needed
...
#KT-62525 Fixed
2023-12-05 18:16:52 +00:00
Nikolay Lunyak
425d5e808b
[FIR] Link some tests with issues
...
Just in case.
^KT-59874
2023-11-14 15:19:33 +00:00
Kirill Rakhman
2566dabfce
[FIR] Report INVISIBLE_REFERENCE on the first unresolved qualifier
...
#KT-61719 Fixed
2023-09-11 14:23:55 +00:00
Brian Norman
833072e1fb
[FIR] Add checker for MISSING_DEPENDENCY_CLASS
...
#KT-59371 Fixed
2023-08-28 15:00:04 +00:00
Kirill Rakhman
38f0ac332d
[FIR] Report INVISIBLE_REFERENCE in imports
...
#KT-55405 Fixed
2023-03-31 12:54:30 +00:00
Victor Petukhov
27fa632630
[FE 1.0] Update test data with new error type representation
2022-03-23 21:13:33 +00:00
Mikhail Glukhikh
c8453ec8b4
FIR: report ambiguity-like errors in type resolve
2022-03-10 20:42:42 +00:00
Dmitriy Novozhilov
8707be51c9
[FIR] Report errors about invisible types from type resolution
2021-11-26 11:26:17 +03:00
Ilya Kirillov
75331b3448
FIR IDE: abstract low-level-api from dependency on idea
2021-06-20 22:07:11 +02:00
Ilya Kirillov
09a94f3200
FIR IDE: ignore non-passing tests in compiler based tests
2021-05-04 08:19:49 +02:00
pyos
e6d923f65c
FIR: rename HIDDEN to INVISIBLE_REFERENCE
...
Some of them should be INVISIBLE_MEMBER though
2021-04-21 16:18:21 +03:00
Dmitriy Novozhilov
cd890d5833
[Test] Disable UNUSED_* diagnostics in tests which are not belong to contolFlowAnalysis suite
2021-03-29 16:12:29 +03:00
pyos
2dc0404751
FIR: prioritize visible imported classes during type resolution
...
and produce an error on ambiguity.
2021-02-16 12:38:45 +03:00
Dmitriy Novozhilov
f3a8fcaea6
[FE] Make constructors of sealed classes protected instead of internal
2021-02-12 13:36:38 +03:00
Dmitriy Novozhilov
f14bd87ecc
[Test] Update testdata of diagnostic tests during to change language to 1.5
...
Mostly this commit contains changes of descriptor dump of sealed classes
tests according to changed visibility of sealed class constructor
2021-01-28 13:19:24 +03:00
Dmitriy Novozhilov
61302a2e08
[TEST] Migrate duplicating javac tests to new test runners
...
Also minimize scope of DiagnosticUsingJavac tests to
`compiler/testData/diagnostics/tests/javac`. This is fine since
javac compilation mode is still not finished and no one not going to
support it
2020-12-16 19:52:25 +03:00