Ilya Kirillov
cf3defbc9c
FIR IDE: add more KDoc to HLApplicator stuff
2021-02-09 17:15:44 +01:00
Ilya Kirillov
2554065ae9
FIR IDE: forbid resolve in HLApplicator/HLApplicabilityRange/HLPresentation
2021-02-09 17:15:43 +01:00
Ilya Kirillov
7ab9583102
FIR IDE: add KDoc for HLApplicabilityRange
2021-02-09 17:15:42 +01:00
Ilya Kirillov
91e135888d
FIR IDE: introduce HLSpecifyExplicitTypeForCallableDeclarationIntention and HLRedundantUnitReturnTypeInspection
2021-02-09 17:15:41 +01:00
Ilya Kirillov
a6f76399e2
FIR IDE: introduce infrastructure for HL based inspections & intentions
2021-02-09 17:15:40 +01:00
Ilya Kirillov
5cefad1ab3
FIR: use GeneratorsFileUtil for checkers-component-generator
2021-02-09 17:15:38 +01:00
Ilya Kirillov
4cf863e054
FIR: simplify PositioningStrategy checkers generator
2021-02-09 17:15:38 +01:00
Ilya Kirillov
21ac83aba0
FIR: rename Diagnostic to DiagnosticData in checkers generators to avoid conflict with existing Diagnostic class
2021-02-09 17:15:37 +01:00
Ilya Kirillov
cf56c59ca2
Fix binary incompatibility of createRemoveModifierFromListOwnerFactory
2021-02-09 17:15:35 +01:00
Ilya Kirillov
8fc6e50dd1
FIR IDE: allow specify position to insert directive in IgnoreTests
2021-02-09 17:15:35 +01:00
Ilya Kirillov
b2d51dc455
FIR: Update diagnostics list after rebase
2021-02-09 17:15:34 +01:00
Ilya Kirillov
fe9c0e584f
FIR IDE: update test data
2021-02-09 17:15:33 +01:00
Ilya Kirillov
e269b1d19d
FIR IDE: temporary mute failing tests
2021-02-09 17:15:32 +01:00
Ilya Kirillov
d72a2d39da
FIR IDE: ignore not passing quickfixes tests
2021-02-09 17:15:31 +01:00
Ilya Kirillov
6c81d9848d
FIR IDE: introduce ChangeReturnTypeOnOverrideQuickFix
2021-02-09 17:15:31 +01:00
Ilya Kirillov
9304056901
FIR IDE: add quick fix tests
2021-02-09 17:15:30 +01:00
Ilya Kirillov
5d32cb0daf
FIR IDE: add remove modifier quick fixes
2021-02-09 17:15:29 +01:00
Ilya Kirillov
c87e6c6a87
FIR IDE: fix finding containing declaration for constructor param
2021-02-09 17:15:29 +01:00
Ilya Kirillov
f7aec31abf
FIR IDE: add KDoc for KtSymbol.psi
2021-02-09 17:15:28 +01:00
Ilya Kirillov
aed728c4d8
FIR IDE: do not require containing declaration for getting overridden symbols
2021-02-09 17:15:27 +01:00
Ilya Kirillov
0fbb5c60c9
FIR IDE: add helper function for getting psi of KtSymbol
2021-02-09 17:15:26 +01:00
Ilya Kirillov
99a6f24771
FIR IDE: make KtCallableSymbol to be KtTypedSymbol
2021-02-09 17:15:26 +01:00
Ilya Kirillov
b114a45f23
FIR IDE: render KtFunctionalType in KtTypeRenderer
2021-02-09 17:15:25 +01:00
Ilya Kirillov
a10f54befa
FIR IDE: introduce KtFunctionalType
2021-02-09 17:15:24 +01:00
Ilya Kirillov
0551834164
Extract getText/getFamilyName from ChangeCallableReturnTypeFix to use in FIR IDE
2021-02-09 17:15:23 +01:00
Ilya Kirillov
79baffb69d
FIR IDE: add PSI type parameter to KtDiagnostic
2021-02-09 17:15:23 +01:00
Ilya Kirillov
e008ad03a2
FIR: add groups to diagnostics DSL
2021-02-09 17:15:11 +01:00
Ilya Kirillov
aaba5742dc
FIR IDE: add severity to KtDiagnostic
2021-02-09 17:14:58 +01:00
Ilya Kirillov
f5ec37db95
FIR IDE: report diagnostics for non-kt elements
2021-02-09 17:14:47 +01:00
Ilya Kirillov
e9a5749cf4
FIR IDE: introduce KtQuickFixService
2021-02-09 17:14:35 +01:00
Ilya Kirillov
05fb88d2d9
Migrate RemoveModifierFix factories to QuickFixesPsiBasedFactory to use in FIR IDE
2021-02-09 17:14:33 +01:00
Ilya Kirillov
794558ab68
Introduce QuickFixesPsiBasedFactory for quickfixes which can be created only by PSI
2021-02-09 17:14:27 +01:00
Ilya Kirillov
6dd2037f85
Move QuickFixActionBase & KotlinIntentionActionsFactory to frontend-independent module
2021-02-09 17:14:26 +01:00
Ilya Kirillov
15ff79830f
FIR: remove existingN diagnostic creation functions
2021-02-09 17:14:24 +01:00
Ilya Kirillov
e41ad2ea06
FIR IDE: implement generators for IDE diagnostics
2021-02-09 17:14:23 +01:00
Ilya Kirillov
c87684a6ef
FIR IDE: use simple KtDiagnostic wrapper for diagnostics
2021-02-09 17:14:22 +01:00
Ilya Kirillov
b92dce9be4
FIR: introduce DSL to generate diagnostics list
...
this is needed to generate diagnostic list for IDE
2021-02-09 17:14:22 +01:00
Ilya Kirillov
5ff816127a
FIR: extract ConeDiagnostic -> FirDiagnostic to fun to use in IDE code
2021-02-09 17:14:21 +01:00
Ilya Chernikov
ef4fa3381d
Pass provided script configuration to refining code
...
when script compilation configuration refinement
happening during parsing, the updated configuration
passed to the script compiler/REPL compile function
is now used.
#KT-44580 fixed
2021-02-09 15:22:55 +00:00
Dmitriy Novozhilov
6dd331d7e8
[FIR] Add tests for non exhaustive when as last expression of lambda
...
KT-44810
2021-02-09 16:04:42 +03:00
Dmitriy Novozhilov
e54f31cc2f
[IR] Remove useless init block from IrLazyFunction
...
This block was accidentally added in aaa3fa58 in debug purposes
2021-02-09 16:04:42 +03:00
Dmitriy Novozhilov
8f0e1035fa
[FIR] Rename KEY and VALUE generics of FirCache to K and V
2021-02-09 16:04:42 +03:00
Dmitriy Novozhilov
e7fdc18ced
[FIR] Fix [JSP] Fast FIR tests run configuration
2021-02-09 16:04:41 +03:00
Dmitriy Novozhilov
d7e3e83251
[FIR] Update testdata of FIR spec tests
2021-02-09 16:04:41 +03:00
Dmitriy Novozhilov
18bde2c542
[FIR] Reimplement when exhaustiveness checker to fir it's logic with FE 1.0
2021-02-09 16:04:41 +03:00
Dmitriy Novozhilov
2a1c9283a4
[FIR] Add useful util extensions for cone type
2021-02-09 16:04:41 +03:00
Dmitriy Novozhilov
ad677046a8
[FIR] Replace isExhaustive flag with ExhaustivenessStatus object
2021-02-09 16:04:40 +03:00
Dmitriy Novozhilov
96038e4b32
[FIR] Support java sealed class interop
2021-02-09 16:04:40 +03:00
Dmitriy Novozhilov
abd1c8fb30
[FIR] Move sealedInheritors declaration data to :fir:tree module
2021-02-09 16:04:40 +03:00
Dmitriy Novozhilov
8dd9d98129
[FIR] Implement checker for exhaustive when's in expression position
2021-02-09 16:04:40 +03:00