Mads Ager
a6f301e84a
[JVM_IR] Rebase constructor stepping tests that are working as intended.
...
JVM_IR has consistent stepping behavior for secondary constructors
and init blocks. This change fixes the expectations for tests that
expect the less consistent JVM backend behavior.
2020-08-20 13:12:22 +02:00
Mads Ager
2c6b5c8847
[JVM_IR] Give temporary variable loads meaningful offsets.
...
Temporary variable loads in when expressions had the offsets
of the variable declaration. That leads to hacks during codegen
for line number generation.
Instead of those hacks, give the variable loads the offsets of
the context in which they occur. That avoids the codegen hacks
and fixes stepping behavior for more when expressions.
2020-08-20 13:12:22 +02:00
Sergey Igushkin
413d02621b
Add a link to docs in MPP stability warning; add a flag that hides it
2020-08-20 10:44:59 +00:00
Mikhail Glukhikh
02e5f140f4
Fir2IrLazyProperty: generate overridden symbols via FirTypeScope
2020-08-20 11:47:35 +03:00
Mikhail Glukhikh
25efad2fd7
[FIR2IR] Extract generateOverriddenAccessorSymbols
2020-08-20 11:47:35 +03:00
Roman Golyshev
539d2bc01f
FIR Completion: Fix completion with error type as receiver
...
- When type is error, the completion should not show anything; instead,
it was showing as if the explicit receiver was not there
2020-08-20 11:33:23 +03:00
Roman Golyshev
bca9754a7b
FIR Completion: Move completion from available scopes to separate class
2020-08-20 11:33:23 +03:00
Denis Zharkov
7f3f0faa1a
FIR: Rework overridden members processing in FirTypeScope
...
Now, FirTypeScope returns only direct overridden and a base scope
where a client might look for deeper overridden
It's necessary to make the API fast and simple
when only direct overridden are needed
At the same time, while this API looks a bit complicated for most of the clients
there are simple extension helpers that obtain just the direct or all overridden
2020-08-20 11:18:59 +03:00
Toshiaki Kameyama
8ce9b2d061
KT-34572 Convert to block body action improperly works with suppress annotations ( #2969 )
...
* Convert to block body: place @Suppress annotation before return expression
#KT-34572 Fixed
* Convert to block body: place annotations before return expression
2020-08-20 11:15:00 +03:00
Ilya Kirillov
9e0bb4ce8e
FIR: save resolvePhase of declaration when creating it fake override copy
2020-08-20 11:07:09 +03:00
Ilya Kirillov
b1d3ab04c2
FIR [IDE]: provide correct node phase when necessary
2020-08-20 09:48:33 +03:00
Mads Ager
119302b016
[JVM_IR] Run KotlinSteppingTests with the JVM_IR backend.
...
Implement support for supressing failures by backend.
2020-08-20 05:48:54 +02:00
Nikolay Krasko
01f7da66c6
Mute ProjectTemplateNewWizardProjectImportTestGenerated.**.testMultiplatformApplication
2020-08-19 23:35:23 +03:00
Nikolay Krasko
9d18279ec9
Mute ReferenceResolveTestGenerated.DelegatedPropertyAccessors.InStandardLibrary.testNotNull
2020-08-19 23:01:09 +03:00
Nikolay Krasko
d87d42348b
Mute flaky GotoWithMultipleLibrariesTest
...
Tests are flaky after https://github.com/JetBrains/kotlin/commit/e2a12602a3e8fa8e4425282d924db0fa29195873
2020-08-19 23:01:09 +03:00
Nikolay Krasko
179bd1cc3d
Mute KotlinUastTypesTest.testEa101715
2020-08-19 23:01:09 +03:00
Nikolay Krasko
950b139804
Mute CreateFunction.Invoke.testLambdaArgument
2020-08-19 23:01:09 +03:00
Nikolay Krasko
496ede7587
Mute KotlinUastTypesTest.testEa101715
2020-08-19 23:01:08 +03:00
Nikolay Krasko
4135240cc0
Mute testFunctionBreakpointInStdlib in AS41
2020-08-19 23:01:08 +03:00
Nikolay Krasko
7982283007
Copy mutes for AS41 from 201
2020-08-19 23:01:08 +03:00
Nikolay Krasko
a3c8427cb2
Mute GradleScriptListenerTest tests
2020-08-19 23:01:08 +03:00
Nikolay Krasko
7de5368b4d
Fix AbstractGradleBuildRootsLocatorTest tests
2020-08-19 23:01:08 +03:00
Nikolay Krasko
0b2fcd2c4d
Remove mutes for navigation tests
2020-08-19 23:01:08 +03:00
Yunir Salimzyanov
ebe0489a74
Fix joined lines in .bunch
2020-08-19 19:51:51 +03:00
Yunir Salimzyanov
70cda1b113
Refactor and fix files previously affected by 192 patchset (KTI-315)
2020-08-19 19:40:02 +03:00
Yunir Salimzyanov
42da9e62db
Cleanup 192 patchset files (KTI-315)
2020-08-19 19:40:02 +03:00
Yunir Salimzyanov
73aa21aab6
Refactor and fix files previously affected by as36 patchset (KTI-315)
2020-08-19 19:40:00 +03:00
Yunir Salimzyanov
27b2e16141
Cleanup as36 patchset files (KTI-315)
2020-08-19 19:40:00 +03:00
Ilya Chernikov
0a9089bc72
Set correct base classloader for REPL evaluation
...
the contributed partial fix of KT-35925 set it to the system classloader
which brought in many cases the compiler CP into the evaluation and lead
to the problems like KT-40898. This fix set it to the extension/platform
classloader, which preserves (partial) fix of the KT-35925 and do not
bring the compiler jar into the REPL evaluation classpath.
#KT-40898 fixed
2020-08-19 15:17:07 +02:00
Ilya Chernikov
f713e8ad36
Set context classloader before REPL evaluation
...
#KT-35925 fixed
2020-08-19 15:17:06 +02:00
Vladimir Dolzhenko
d0366d3bcb
Failed test clean up
...
Relates to ^KT-40960
2020-08-19 15:06:53 +02:00
alexjuca
4794297640
used string template instead of concatenation
2020-08-19 13:58:58 +02:00
Kirill Shmakov
f88e492d11
Support hmpp in template
...
Explained in KMM-332
2020-08-19 14:46:49 +03:00
Toshiaki Kameyama
11044a3ab5
Surround with null check: fix incorrect check for 'in' expression
...
#KT-31749 Fixed
2020-08-19 14:37:24 +03:00
Toshiaki Kameyama
1188f4617a
Change file's package to match directory: add space after package keyword if needed
...
#KT-39604 Fixed
2020-08-19 14:04:18 +03:00
Kirill Shmakov
1ce39222e3
Build KMM plugin for AS 4.2
2020-08-19 13:02:39 +03:00
Mikhail Zarechenskiy
6ed13ef1b6
Fix unresolved reference to catch parameter from lambda expression
...
#KT-41140 Fixed
2020-08-19 12:52:16 +03:00
Mikhail Zarechenskiy
f2fba8a469
Fix delegated property resolve when provideDelegate has this as argument
...
#KT-41135 Fixed
2020-08-19 12:52:16 +03:00
Toshiaki Kameyama
f3be3f449a
Scope function conversion: do not suggest when invoked without receiver
...
#KT-35525 Fixed
2020-08-19 12:27:41 +03:00
Toshiaki Kameyama
8ba5548a0f
"Eliminate argument of 'when'": do not suggest if 'when' is used as expression and it has no 'else' branch ( #2898 )
...
#KT-35526 Fixed
2020-08-19 12:24:58 +03:00
Toshiaki Kameyama
d965ad0a98
IfThenToSafeAccessInspection: do not report if condition is SENSELESS_COMPARISON/USELESS_IS_CHECK ( #3007 )
...
#KT-36051 Fixed
2020-08-19 12:22:10 +03:00
Toshiaki Kameyama
122bba9102
UnnecessaryVariableInspection: don't report for overriding property
...
#KT-39263 Fixed
2020-08-19 12:16:37 +03:00
Igor Yakovlev
c29dbee65e
Cover move method refactoring with registry key (disabled by default)
2020-08-19 12:11:53 +03:00
aleksandrina-streltsova
ed67517fb9
Move: make minor refactorings and add GUI form for MoveKotlinMethodDialog
2020-08-19 12:11:53 +03:00
aleksandrina-streltsova
5515465760
Move: Support method moving
2020-08-19 12:11:53 +03:00
Alex Chmyr
a5368e443c
KT-20421 fixing code generation for the case when "object" extends "class". It should look like: "object: class()".
2020-08-19 11:46:29 +03:00
Anton Yalyshev
26ca205f7e
Fix a broken hyperlink to Whatsnew at the plugin change-notes
2020-08-19 11:41:13 +03:00
Ilya Kirillov
ccf285a284
FIR IDE: do not recreate analysis session for tests now
2020-08-19 11:35:42 +03:00
Ilya Kirillov
c191373a6b
FIR IDE: always pass ValidityToken to KtAnalysisSessionComponent
2020-08-19 11:35:41 +03:00
Ilya Kirillov
2290d2fcc0
FIR IDE: make FirScopeRegistry belong to a KtFirScopeProvider
2020-08-19 11:35:40 +03:00