Yaroslav Chernyshev
6e9739caec
Add regression test for MPP android source set with resources
2021-06-16 09:32:45 +03:00
Georgy Bronnikov
f0f01db66e
Temporarily mute a failing test
2021-06-16 01:48:28 +03:00
Ilya Kirillov
39e2df6916
FIR IDE: render unresolved types as qualifiers for member generator
2021-06-16 01:17:44 +03:00
Ilya Kirillov
cf7870e376
FIR IDE: implement toString for KtType
2021-06-16 01:17:43 +03:00
Ilya Kirillov
af9e6253e4
FIR IDE: add ability to specify type argument in KtClassTypeBuilder
2021-06-16 01:17:42 +03:00
Ilya Kirillov
148c90dd1e
FIR IDE: do not make KtTypeArgumentWithVariance abstract
...
As it does not require specific FIR implementation
2021-06-16 01:17:41 +03:00
Ilya Kirillov
6a9c49dd9d
FIR IDE: rename coneType parameter in KtFirType constructors to not accidentally leak it via lambdas
2021-06-16 01:17:40 +03:00
Ilya Kirillov
1d1eab6947
FIR IDE: make KtSymbolByFirBuilder to be a weak ref in KtType to avoid memory leaks
2021-06-16 01:17:39 +03:00
Ilya Kirillov
73bb2e76f2
FIR IDE: introduce KtFirDefinitelyNotNullType
2021-06-16 01:17:38 +03:00
Ilya Kirillov
8177a70ff9
FIR IDE: introduce KtCapturedType
2021-06-16 01:17:36 +03:00
Ilya Kirillov
e2cfd933f1
FIR IDE: introduce HL API for creating class types
2021-06-16 01:17:35 +03:00
Ilya Kirillov
8094a5448d
FIR IDE: render error message for KtClassErrorType
2021-06-16 01:17:34 +03:00
Ilya Kirillov
0a6c96492a
FIR IDE: simplify KtType hierarchy
...
- get rid of Kt(Non)DenotatbleType super classes as unused
- make KtErrorType to inherit KtClassType to be consistent with FIR
2021-06-16 01:17:32 +03:00
Tianyu Geng
f6078b24df
FIR IDE: AddToString quickfix
2021-06-15 20:19:53 +02:00
Tianyu Geng
1b8b5b9a79
FIR IDE: move AddToStringFix to fe-independent
2021-06-15 20:19:52 +02:00
Tianyu Geng
4bedf41f9c
FIR IDE: RemoveNulalbleFix quickfix
2021-06-15 20:19:52 +02:00
Tianyu Geng
b10de3dd2d
FIR IDE: Move RemoveNullableFix to fe-independent
2021-06-15 20:19:52 +02:00
Victor Petukhov
559bedf5ae
Continue processing not builder inference stub variables in the type checker during computing common super type
...
^KT-47148 Fixed
2021-06-15 17:40:56 +03:00
Victor Petukhov
85f4cec948
Don't ignore Java nullability annotations without target and unresolved when nullability qualifiers are extracted, with enabled type enhancement improvements
...
^KT-47276 Fixed
2021-06-15 17:28:25 +03:00
Mads Ager
ae03e2983d
[JVM_IR] Keep track of catch variable gaps.
...
This ensures that catch variables are not visible in duplicated
finally blocks generated at an exit within the catch variable
scope.
^KT-46449 Fixed
2021-06-15 15:18:59 +02:00
Elena Lepilkina
6aba6ea670
[K/N][perf] Fix separator stayed wrong after migrating from groovy
2021-06-15 11:39:25 +00:00
Victor Petukhov
9fa0cf132f
Regenerate idea fir low level api tests
2021-06-15 12:52:06 +03:00
Pavel Punegov
f9d5cc90a8
[native] Disable test that fail due to the unaligned int64 access
2021-06-15 11:51:43 +03:00
Vasily Levchenko
695339e21f
[k/n][tests][debugger] test for KT-47198.
2021-06-15 08:04:19 +00:00
Vasily Levchenko
524a9351de
[k/n][tests][debugger] modify test to conform KT-47198
2021-06-15 08:04:18 +00:00
Vasily Levchenko
81fd6126d9
[k/n][codegen][d/i] dont generate debug line information for prolog and {locals,stack}_init
...
- fixes KT-47198
2021-06-15 08:04:17 +00:00
Vasily Levchenko
bb42e601ab
[k/n][tests][lldb] add quit to each lldb tests.
2021-06-15 08:04:17 +00:00
Victor Petukhov
1b82227308
Don't do new captured type specific checks for old ones in the type checker
...
^KT-47143 Fixed
2021-06-15 10:07:20 +03:00
Nikita Bobko
02a56a3077
[imltogradle] Fix 'Configuration with name 'compileOnlyApi' not found'
2021-06-14 16:56:55 +02:00
Nikita Bobko
ce0bef6b60
Update 211 platform version for Kotlin plugin
2021-06-14 16:56:55 +02:00
Nikita Bobko
3bf7eef4d8
[imltogradle] Generate maven repos based on 'jarRepositories.xml' from Community
...
This commit minimizes difference between build.gradle.kts
files generated from ultimate & community infrastructure
2021-06-14 16:56:55 +02:00
Jinseong Jeon
ce26d54917
FIR IDE: extract PsiType conversions to KtPsiTypeProvider
2021-06-13 00:10:47 +03:00
Jinseong Jeon
0db510ad8b
FIR IDE/UAST: introduce UAST-specific version of analyse
2021-06-13 00:10:46 +03:00
Jinseong Jeon
1517fd0ca0
FIR/UAST: commonoize array access expression
2021-06-13 00:10:45 +03:00
Jinseong Jeon
ef8eddf1da
FIR UAST: add array access tests
2021-06-13 00:10:44 +03:00
Jinseong Jeon
9a539aac7d
FIR/UAST: commonize binary expression with type
2021-06-13 00:10:43 +03:00
Jinseong Jeon
b2e644b485
FIR/UAST: commonize type check expression
2021-06-13 00:10:41 +03:00
Jinseong Jeon
6e0f755b39
UAST: migrate kinds constants to the base module
2021-06-13 00:10:39 +03:00
Jinseong Jeon
47ede5bdc8
FIR IDE/UAST: get PsiType from KtTypeReference
2021-06-13 00:10:38 +03:00
Jinseong Jeon
a3710bed6a
FIR/UAST: commonize type reference expression
2021-06-13 00:10:37 +03:00
Jinseong Jeon
517fd24f14
UAST: unify implementation/creation of type reference expression
2021-06-13 00:10:36 +03:00
Jinseong Jeon
fa36098214
FIR IDE/UAST: get PsiType from KtExpression
2021-06-13 00:10:34 +03:00
Ilya Kirillov
7d7782e8ff
Fix FE1.0 intention test
2021-06-12 23:53:46 +03:00
Mark Punzalan
235f4200df
FIR IDE: Add descriptions for HLAddAccessorIntentions (copied from FE
...
1.0 implementations).
2021-06-12 23:53:45 +03:00
Mark Punzalan
9b5f754e75
FIR IDE: Enable add accessors quickfix for MUST_BE_INITIALIZED.
...
Also added diagnosticFixFactoriesFromIntentionActions() to share
quickfix-creation across multiple diagnostics with the same PSI.
2021-06-12 23:53:44 +03:00
Mark Punzalan
cd6dbd2515
FIR IDE: Assert that the action to invoke in
...
AbstractHighLevelQuickFixTest is of type QuickFixActionBase.
2021-06-12 23:53:43 +03:00
Mark Punzalan
783e5972d0
FIR IDE: Ensure all fixes provided by HLDiagnosticFixFactory are of type
...
QuickFixActionBase.
This allows us to verify in the quickfix tests that the action comes
from a diagnostic-based quickfix, and not an available intention. We
are adding APIs that wrap IntentionActions as QuickFixActionBase.
2021-06-12 23:53:42 +03:00
Mark Punzalan
43a8299f48
FIR IDE: Delete AddAccessorsIntention in favor of
...
HLAddAccessorIntentions.
2021-06-12 23:53:41 +03:00
Mark Punzalan
91e62832ee
FIR IDE: Add applicability range to HLAddAccessorIntention (copied from
...
FE 1.0's logic) and actually check the range in AbstractHLIntention.
2021-06-12 23:53:40 +03:00
Mark Punzalan
a497dd1d31
FIR IDE: Enable add accessor intentions in plugin.
2021-06-12 23:53:39 +03:00