Nikolay Lunyak
|
1a3f47badd
|
[FIR] Make FirJvmStaticChecker more consistent with the legacy version
|
2021-09-09 20:18:49 +03:00 |
|
Nikolay Lunyak
|
2a2c92d8b3
|
[FIR] Add support for JVM_STATIC_ON_EXTERNAL_IN_INTERFACE diagnostic
|
2021-09-09 20:18:49 +03:00 |
|
Nikolay Lunyak
|
7006426304
|
[FIR] Add support for JVM_STATIC_ON_CONST_OR_JVM_FIELD diagnostic
|
2021-09-09 20:18:49 +03:00 |
|
Nikolay Lunyak
|
f3d61c199b
|
[FIR] Add support for JVM_STATIC_ON_NON_PUBLIC_MEMBER diagnostic
|
2021-09-09 20:18:49 +03:00 |
|
Nikolay Lunyak
|
c2e5583780
|
[FIR] Add support for JVM_STATIC_NOT_IN_OBJECT_OR_COMPANION diagnostic
|
2021-09-09 20:18:49 +03:00 |
|
Nikolay Lunyak
|
276bfd9305
|
[FIR] Add support for OVERRIDE_CANNOT_BE_STATIC diagnostic
|
2021-09-09 20:00:38 +03:00 |
|
Nikolay Lunyak
|
5607be3920
|
[FIR] Add support for INAPPLICABLE_JVM_NAME diagnostic
|
2021-09-09 20:00:36 +03:00 |
|
Nikolay Lunyak
|
5ebad97cd5
|
[FIR] Add support for ILLEGAL_JVM_NAME diagnostic
|
2021-09-09 19:58:16 +03:00 |
|
pyos
|
03304bce96
|
FIR: enhance Java type parameter bounds
This also fixes handling of self-recursive types.
TODO: fix jspecify/{strict,warn}Mode/Captured.fir.kt
|
2021-09-06 13:11:08 +03:00 |
|
Mikhail Glukhikh
|
b8c3b34886
|
FE 1.0: don't spread OptIn markers to children #KT-48570 Fixed
|
2021-09-03 15:40:45 +03:00 |
|
Dmitriy Novozhilov
|
1e0878cde0
|
[FE 1.0] Postpone SafeCallsAreAlwaysNullable till 1.7
^KT-46860 Fixed
|
2021-09-02 13:34:27 +03:00 |
|
Denis.Zharkov
|
4a9d4ed9fe
|
Enable ProhibitUsingNullableTypeParameterAgainstNotNullAnnotated since 1.7
^KT-36770 Fixed
|
2021-08-31 15:41:17 +03:00 |
|
Denis.Zharkov
|
62bef48f9d
|
Adjust test data to changed rendering: T!! -> T & Any
^KT-26245 In Progress
|
2021-08-31 15:41:15 +03:00 |
|
Ilmir Usmanov
|
92fac304e7
|
Forbid @Synchronized annotation on suspend functions
and lambdas. With warning for now.
#KT-27333
|
2021-08-30 13:47:34 +02:00 |
|
Ivan Kochurkin
|
84c5f58cab
|
[FIR] Implement UNRESOLVED_REFERENCE_WRONG_RECEIVER
|
2021-08-25 21:53:23 +00:00 |
|
Ivan Kochurkin
|
bb27ae2b42
|
[FIR] Fix incorrect resolve of callable reference in function signature (^KT-48304 Fixed)
|
2021-08-25 21:53:23 +00:00 |
|
Mikhail Glukhikh
|
7b0e5927cb
|
Report EXPERIMENTAL_ANNOTATION_ON_WRONG_TARGET without explicit @Target
#KT-48349 Fixed
|
2021-08-23 14:18:34 +03:00 |
|
Andrey Zinovyev
|
865fccdd29
|
[FIR] Add messages for JvmRecord diagnostics
Also fix some tests
|
2021-08-23 10:33:24 +00:00 |
|
Victor Petukhov
|
55811c8851
|
Don't use builder inference if possible
The builder inference is running only if there are still uninferred type variables
^KT-48193 Fixed
|
2021-08-20 01:28:10 +03:00 |
|
Andrey Zinovyev
|
4661656b8c
|
[FIR] JVM_PACKAGE_NAME* diagnostics
|
2021-08-19 15:25:47 +03:00 |
|
Andrey Zinovyev
|
f9b601edae
|
[FIR] @JvmOverloads related checkers
|
2021-08-19 15:25:44 +03:00 |
|
Andrey Zinovyev
|
17ae69416c
|
[FIR] Add SYNCHRONIZED_* diagnostics
|
2021-08-19 15:25:43 +03:00 |
|
Andrey Zinovyev
|
7ba8e0d9cc
|
[FIR] Add VOLATILE_ON_VALUE/VOLATILE_ON_DELEGATE diagnostic
|
2021-08-19 15:25:43 +03:00 |
|
Andrey Zinovyev
|
f90b534c4c
|
[FIR] Add STRICTFP_ON_CLASS diagnostic
|
2021-08-19 15:25:41 +03:00 |
|
Andrey Zinovyev
|
1cd321a90f
|
[FIR] Add INAPPLICABLE_OPERATOR_MODIFIER diagnostic
|
2021-08-18 16:03:01 +03:00 |
|
Tianyu Geng
|
fb1eac0985
|
FIR: report SMARTCAST_IMPOSSIBLE on inherited alien properties [KT-48101]
|
2021-08-18 12:02:02 +03:00 |
|
Ivan Kochurkin
|
cd6384eb20
|
[FIR] Fix handling of WRONG_MODIFIER_TARGET
Implement DEPRECATED_MODIFIER, DEPRECATED_MODIFIER_FOR_TARGET, REDUNDANT_MODIFIER_FOR_TARGET
|
2021-08-13 18:32:27 +03:00 |
|
Tianyu Geng
|
06ee84f809
|
FIR checker: report AMBIGUOUS_SUPER
|
2021-08-10 19:36:44 +03:00 |
|
Tianyu Geng
|
bcf6202863
|
FIR checker: fix position strategy for UNRESOLVED_LABEL
|
2021-08-10 19:36:04 +03:00 |
|
Tianyu Geng
|
c7272f6986
|
FIR checker: SENSELESS_(COMPARISON|NULL_IN_WHEN)
Currently DFA does not set "definitely equal to null" for access to variables that got assigned `null`. For example, FIR should mark the following line as SENSELESS_COMPARISON due to `s = null` above.
https://github.com/JetBrains/kotlin/blob/d1531f9cdd5852352c0133198706125dc63b6007/compiler/testData/diagnostics/tests/smartCasts/alwaysNull.fir.kt#L6
The problem is at https://github.com/JetBrains/kotlin/blob/7e9f27436a77de1c76e3705da7aa1fbe8938336b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/dfa/FirDataFlowAnalyzer.kt#L1104
For null assignment, ideally the type should be `Nothing?`. This is
addressed in a followup commit instead.
|
2021-08-06 22:57:16 +03:00 |
|
Victor Petukhov
|
13cb3c138a
|
Update FE tests
|
2021-08-04 17:36:53 +03:00 |
|
Victor Petukhov
|
cf3bd016be
|
Always complete calls not related to the builder inference
^KT-47830 Fixed
|
2021-08-04 17:36:52 +03:00 |
|
Andrey Zinovyev
|
c46a393a19
|
[FIR] Add REDUNDANT_INLINE_SUSPEND_FUNCTION_TYPE diagnostic
|
2021-08-04 17:33:15 +03:00 |
|
Andrey Zinovyev
|
e56deb4525
|
[FIR] Add INLINE_SUSPEND_FUNCTION_TYPE_UNSUPPORTED diagnostic
|
2021-08-04 17:33:14 +03:00 |
|
Andrey Zinovyev
|
015c2d1875
|
[FIR] Add NOTHING_TO_INLINE diagnostic
|
2021-08-04 17:33:08 +03:00 |
|
Andrey Zinovyev
|
ec4cbfef59
|
[FIR] UNREACHABLE_CODE diagnostic (wip)
Implementation for PSI only
|
2021-08-04 14:42:24 +03:00 |
|
Dmitriy Novozhilov
|
b584fed93d
|
[FIR] Migrate warning/error pairs to DiagnosticFactoryForDeprecation
|
2021-08-03 00:20:11 +03:00 |
|
Dmitriy Novozhilov
|
d17f984edf
|
[FE 1.0] Migrate most of warning/error pairs to DiagnosticFactoryForDeprecation
|
2021-08-03 00:17:33 +03:00 |
|
Mikhail Glukhikh
|
5283f7b7c6
|
Make EXPERIMENTAL_API_USAGE_ERR warning till 1.6 for fake override case
|
2021-07-30 21:21:51 +03:00 |
|
Mikhail Glukhikh
|
807f031dcc
|
FIR: introduce RETURN_FOR_BUILT_IN_SUSPEND diagnostic
|
2021-07-30 19:06:53 +03:00 |
|
Mikhail Glukhikh
|
229dfd3f5f
|
FIR: introduce builtin suspend related diagnostics
|
2021-07-30 19:06:51 +03:00 |
|
Mikhail Glukhikh
|
391c4db87c
|
FIR: introduce ILLEGAL_RESTRICTED_SUSPENDING_FUNCTION_CALL diagnostics
|
2021-07-30 19:06:49 +03:00 |
|
Mikhail Glukhikh
|
2397650c24
|
FIR: introduce NON_LOCAL_SUSPENSION_POINT diagnostic
|
2021-07-30 19:06:48 +03:00 |
|
Mikhail Glukhikh
|
8f1d07084b
|
FIR: introduce ILLEGAL_SUSPEND_FUNCTION_CALL & PROPERTY_ACCESS diagnostics
|
2021-07-30 19:06:46 +03:00 |
|
Mikhael Bogdanov
|
4fe846fb81
|
Fix test affected by InstantiationOfAnnotationClasses feature
|
2021-07-29 19:45:57 +02:00 |
|
Denis.Zharkov
|
d2ad421e0b
|
Fix test data for definitelyNotNullType
|
2021-07-29 19:45:57 +02:00 |
|
Mikhael Bogdanov
|
baaa615e09
|
Update FirOldFrontendDiagnosticsTestGenerated tests
|
2021-07-29 19:45:56 +02:00 |
|
Victor Petukhov
|
d2a7434cff
|
Update testdata
|
2021-07-29 19:45:56 +02:00 |
|
Dmitriy Novozhilov
|
e316cd04b6
|
[FIR] Fix consistency of FE 1.0 and FIR test data
|
2021-07-29 19:45:56 +02:00 |
|
Alexander Udalov
|
0ed9b75428
|
Minor, fix diagnostic test data for FIR
|
2021-07-29 19:45:55 +02:00 |
|