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
Nikolay Krasko
32f4ab96c4
Use Kotlin wrapper for LightCodeInsightTestCase tests
...
This will help in resolving compatibility issues and will allow to add
common functionality to all tests.
2019-11-29 12:56:49 +03:00
Nikolay Krasko
6f3e7acfa2
Remove adhock flaky highlighting performance tests
...
We now have dedicated tests for it.
2019-11-29 12:35:44 +03:00
Dmitry Gridin
2fabf86f29
Formatter: cleanup code
2019-11-29 16:28:59 +07:00
Dmitry Gridin
70185ba2a6
Formatter, NJ2K: fix indent for comments inside function literals
...
#KT-4194 Fixed
#KT-31881 Fixed
#KT-34673 Fixed
#KT-35152 Fixed
2019-11-29 16:28:59 +07:00
Kirill Shmakov
79bfada65b
Read xcodeproj file location from gradle.properties
2019-11-29 12:22:43 +03:00
Toshiaki Kameyama
f7ff397a31
Move statement: enable single lambda expression function
...
#KT-10478 Fixed
2019-11-29 11:33:27 +03:00
victor.petukhov
e246c23a46
Fix prematurely analyzing a lambda while fixing a type variable for another argument
...
^KT-35168 Fixed
2019-11-28 19:03:30 +03:00
Toshiaki Kameyama
3a576ce14f
KT-21811 Convert string concatenation into multiline string ( #2772 )
...
New J2K: Convert string concatenation into multiline string
#KT-21811 Fixed
2019-11-28 13:14:48 +03:00
Nikolay Krasko
c14affd6cd
Minor: forgotten change after review
2019-11-28 12:02:00 +03:00
Nikolay Krasko
35fec9e9db
Fix withJava test after resorting annotation targets
...
Was broken after eb71e68 .
2019-11-28 12:02:00 +03:00
Toshiaki Kameyama
bfa6c7d399
Move statement: don't move declarations above package and import directives
2019-11-28 11:20:09 +03:00
Natalia Selezneva
6a18ef1417
Minor: compare system independent paths
2019-11-28 09:40:04 +03:00
Nikolay Krasko
c341a3e709
Avoid collecting events from other projects in PerModulePackageCacheService (KT-33802)
...
It looks like VFS_CHANGES subscription ignores project boundaries so all events are processed by every listener. If event has a hard reference to project in the requestor field, it might leak through the collection of pending events.
An attempt to fix holding test projects through pending events.
#KT-33802 Fixed
2019-11-27 22:34:48 +03:00
Nikolay Krasko
7245bbd822
Explicitly disconnect in KotlinPackageContentModificationListener (KT-33802)
2019-11-27 22:34:48 +03:00
Anton Yalyshev
1bbd17c4d6
Turn off FUS data sending in 1.3.61+ as we as we sent enough in 1.3.60
2019-11-27 18:42:42 +03:00
Anton Yalyshev
ffa0896592
Minor correction of attributes naming
2019-11-27 16:59:27 +03:00
Anton Yalyshev
c57c9b2e63
Prepare data for successful FUS Whitelist parsing
2019-11-27 16:59:27 +03:00