Mikhail Glukhikh
1d6d88b50c
FIR reference resolve test: observe mute tests which are actually passing
2019-12-10 12:57:12 +03:00
Mikhail Glukhikh
f8c86d2f9f
FIR reference resolve test: mute 37/107 cases which aren't yet supported
2019-12-10 12:57:11 +03:00
Mikhail Glukhikh
900227fdfa
KtReferenceResolver: implement resolveToPsiElements() via FE IR (~60% supported)
2019-12-10 12:57:11 +03:00
Mikhail Glukhikh
809b7d8381
FirResolution: store enabled value in field with initial reading from component
...
Before this commit, we read/wrote 'enabled' directly from PropertiesComponent.
Now we do only initial reading and then store modified value in field.
This should make 'enabled' reading faster.
2019-12-10 12:57:11 +03:00
Mikhail Glukhikh
0d2d76696c
Add FirResolution.enabled wrapper
2019-12-10 12:57:10 +03:00
Natalia Selezneva
b66fdad80c
Set since build to IDEA 192.7142.36 for 192 bunch
...
Fix compilation in idea-gradle module
Android Studio 3.6 doesn't still contain some of those changes
2019-12-10 09:16:27 +03:00
Dmitriy Novozhilov
b76c984b26
[FIR] Support IntegerLiteralTypes
2019-12-09 17:24:26 +03:00
Nicolay Mitropolsky
df3bee3038
Annotations: support injections in string arrays (KT-35222)
2019-12-05 19:31:57 +03:00
Mikhail Glukhikh
bef344b33e
Optimization / clarifying: getFirClassifierContainerFile
2019-12-05 18:02:04 +03:00
Mikhail Glukhikh
c1789a0ecc
FIR IDE: synchronous creation/registration of sessions
2019-12-05 18:02:04 +03:00
Mikhail Glukhikh
1539ee30ff
FIR IDE: fix local class containing file search
2019-12-05 18:02:03 +03:00
Mikhail Glukhikh
d35a26a75b
Optimization: introduce FirIdeResolveStateService to cache FirResolveState
2019-12-05 18:02:02 +03:00
Mikhail Glukhikh
b4760bcbd3
Extract AbstractResolveElementCacheTest to use in FIR cache testing
2019-12-05 18:02:02 +03:00
Mikhail Glukhikh
8808c775a4
Introduce FirResolvedTypeRef.delegatedTypeRef to see children types in IDE
...
This is needed to have access to resolved children types (e.g. type arguments) from IDE
2019-12-05 18:02:02 +03:00
Vladimir Dolzhenko
b0b04eb4cd
Use kotlin specific setting "Optimize imports on the fly" in quick fix
...
#KT-35266 Fixed
2019-12-04 11:19:19 +01:00
Nikolay Krasko
29fbb8e22f
Update to 193.5233.102 release (KT-35239)
...
- Mute android specific import tests (KT-35225).
- Mute GradleMultiplatformWizardTest (IDEA-225878).
- Minor update of test data.
2019-12-03 17:34:47 +03:00
Nikolay Krasko
fa64b5794b
Allow to mute parameterized GradleImportingTestCase JUnit 4 tests
2019-12-03 17:34:46 +03:00
Roman Golyshev
66ffdf1b2d
KT-33979 KT-34150 Remove filtering overridden object members and nested objects
...
- ^KT-33979 Fixed
- ^KT-34150 Fixed
- Also, in extension completion check descriptor instance first
2019-12-03 13:29:30 +03:00
Alexander Udalov
fd627603a0
Refactor CompilationErrorHandler
...
It only had one implementation THROW_EXCEPTION, inline it everywhere
with a call to a static method
2019-12-03 10:48:34 +01:00
Mikhail Glukhikh
fe6be0f436
Fix failed FIR multi-module test (forgotten test data update)
2019-12-03 10:25:53 +03:00
Igor Yakovlev
0ff77bd3c5
Add UL support for const fields initializers
...
Fixed #KT-34081
2019-12-02 20:41:47 +03:00
Ilya Chernikov
b8034567ef
Change script definition lookup key from File to ScriptSource
...
to make it more generic and allow easier implementation fo the
non-file based scripts.
2019-12-02 16:46:54 +01:00
Nikolay Krasko
0380380de4
More cleanups after tests execution
2019-12-02 13:29:37 +03:00
Nikolay Krasko
0cbb3a3956
Remove unused ProjectRootModificationTrackerFixer.kt
2019-12-02 13:29:37 +03:00
Nikolay Krasko
c12599a045
Fix test data for testParamTypeLambdaMismatch in >= 192
2019-12-02 13:29:36 +03:00
Andrey Uskov
38de98429d
Fix importing tests in bunch 183
2019-12-02 13:17:21 +03:00
Andrey Uskov
9643d5d28e
Added import-resolve integration tests
2019-12-02 13:17:17 +03:00
Vladimir Dolzhenko
7fede87825
Performance tests DSL is added
2019-12-01 22:54:00 +01:00
Vladimir Dolzhenko
1b075340f8
Fixed dependencies for performance tests
2019-12-01 09:35:32 +01:00
Vladimir Dolzhenko
f8a6217fb5
Fix compilation for 183 after adding support incremental analysis of comment and kdoc
...
Relates to #KT-35189
2019-11-30 18:50:44 +01:00
Alexander Gorshenev
b0f077ff4b
Plumbing KlibMetadataVersion and KlibIrVersion values to klib manifest
2019-11-30 18:37:38 +03:00
Vladimir Dolzhenko
a6f829f267
Add secondary ctors to incremental analysis
...
Relates to #KT-35121
2019-11-29 18:30:01 +01:00
Mikhail Glukhikh
d15dae6ac6
FIR: use SyntheticPropertySymbol & synthetic scope instead of FirAccessorSymbol
...
Before this commit, we used FirAccessorSymbol to emulate synthetic properties.
These symbols were generated in Java use-site scope.
Now, we use synthetic scope instead which is above MemberScopeTowerLevel.
This is more performance-friendly and does not require override matching.
However, accessor symbols should be used in situation when Java accessor
overrides Kotlin property which is broken in this commit
(that's why MapEntry test is corrupted here).
Also, we should not create synthetics for pure Kotlin accessors
(that's why javaAccessorConversion test is corrupted here).
2019-11-29 18:11:25 +03:00
Mikhail Glukhikh
f1eb0dff1f
FIR: disable synthetic scope, make accessor symbols synthetic
...
Before this commit, we had two methods to do generally the same synthetic thing.
It's an attempt to keep only one of them.
Accessor symbols are generated in Java use-site member scopes,
at this place we know better whether we are in Java class or not.
However, we have to do this at every use-site level, which is relatively slow.
Also we could encounter problems when accessor function is overridden in Kotlin,
and accessor symbol can still contain reference to Java accessor.
2019-11-29 18:09:07 +03:00
Vladimir Dolzhenko
95129939d4
Add secondary ctors to incremental analysis
...
#KT-35121 Fixed
2019-11-29 15:45:09 +01:00
Vladimir Dolzhenko
f709377735
Support incremental analysis of comment and kdoc
...
#KT-35189 Fixed
2019-11-29 15:44:58 +01:00
Vladimir Dolzhenko
29b25e3901
Reworked resolve references in background thread in PlainTextPasteImportResolver
...
Relates to #KT-16774
2019-11-29 15:27:20 +01:00
Dmitry Gridin
37371edb8c
Auto-import: add quickfix for overloaded generic function
...
#KT-34667 Fixed
2019-11-29 21:09:24 +07:00
Dmitry Gridin
4b98430058
Formatter: fix line break after package & file annotation
...
#KT-23957 Fixed
2019-11-29 21:09:04 +07:00
Ilya Chernikov
7dd9ed7e38
[NI] Fix loosing type annotations on extension functions
...
#KT-32138 fixed
2019-11-29 13:44:41 +01:00
Ilya Goncharov
8d123d209a
[Gradle, JS] Add description of hack on our side to avoid IDEA run only JVM tests by gutters
2019-11-29 15:09:36 +03:00
Ilya Goncharov
38bd738724
[Gradle, JS] Add comments
2019-11-29 15:09:36 +03:00
Ilya Goncharov
1cc980e21b
[Gradle, Idea] Create dummy tasks with type Test to WA platform problem
...
Platform set filters only for Test task
Create dummy Test task
Non JVM test task depends on Test task
After evaluate copy filters from Test task to non JVM test task
2019-11-29 15:09:35 +03:00
Ilya Goncharov
86e665e2b3
[Gradle, Idea] Add Gutter Configurator for non-jvm tests
2019-11-29 15:09:35 +03:00
Roman Golyshev
3112d70420
KT-35042 Fix InsertHandlerProvider.kt to work with suspend functional parameters
...
- ^KT-35042 Fixed
- Also, fix review suggestions for KOTLIN-CR-3495
2019-11-29 14:55:22 +03:00
Roman Golyshev
6f234beb9c
KT-34414 Make sure completion for suspend functional parameters works too
...
- Replace `isFunctionType` with `isBuiltinFunctionalType` where it is relevant
- ^KT-34414 Fixed
2019-11-29 14:55:21 +03:00
Igor Yakovlev
541ca31584
Fix for exception on HelpAction in KotlinInlineValDialog
2019-11-29 14:42:34 +03:00
Igor Yakovlev
a672427e72
Add invokeLater for inlining extra refactoring in branchedTransformations intension
...
Fixed #EA214432
2019-11-29 14:42:26 +03:00
Nikolay Krasko
ec03c3b85d
Minor: remove url to avoid difference in test data in 183 and 191
2019-11-29 12:56:50 +03:00
Nikolay Krasko
9c0c9ea849
Use Kotlin wrapper for LightIdeaTestCase
2019-11-29 12:56:50 +03:00