Ilya Kirillov
b09358fe17
FIR IDE: rename KtFieldSymbol -> KtFirJavaFieldSymbol
2020-08-09 11:59:04 +03:00
Ilya Kirillov
f98ff2c25e
FIR IDE: always pass resolve state as parameter when getting fir by psi
2020-08-09 11:59:04 +03:00
Pavel Kirpichenkov
9ca4717d11
Revert "Introduce @FrontendInternals annotation"
...
Revert due to Mobile IDE Trunk IJ TC configuration
This reverts commits:
ffc3d8bdfc
c0e713980b
^KT-39643 In Progress
2020-08-07 12:10:03 +03:00
Alexander Dudinsky
4063aba677
Remade launch of NativeRunConfigurationTest against master version of gradle plugin
2020-08-06 14:06:05 +03:00
Konstantin Tskhovrebov
69ce6bd952
Add tests for setup native run gutters.
2020-08-06 14:06:04 +03:00
Vladimir Dolzhenko
6ec0e9546b
Fix 192 compilation for UI for standalone gradle scripts
...
Relates to #KT-39790
2020-08-05 23:39:34 +02:00
Pavel Kirpichenkov
c0e713980b
Add helpers for getting commonly used services without an opt-in
...
These services are LanguageVersionSettings, DataFlowValueFactory
#KT-39643 Fixed
2020-08-05 21:44:47 +03:00
Pavel Kirpichenkov
ffc3d8bdfc
Introduce @FrontendInternals annotation
...
#KT-39643
2020-08-05 21:44:47 +03:00
Ilmir Usmanov
6c475e614a
Minor. Update debugger tests
2020-08-05 19:47:55 +02:00
Florian Kistner
9925866293
203: Fix compilation
2020-08-05 19:36:43 +02:00
Natalia Selezneva
54d96a2dd7
UI for standalone gradle scripts
...
^KT-39790 Fixed
2020-08-05 15:22:22 +02:00
Alexander Dudinsky
52c01abb83
Increase Xmx size after investigation OOM problem in KMM-316
2020-08-05 10:45:16 +03:00
Alexander Dudinsky
ea0099aa39
Fix testPlatformToCommonExpByInComposite.
...
In 9d362875da build started fail if mpp
or js targets not configured.
The test testPlatformToCommonExpByInComposite was fixed due it.
2020-08-05 10:45:16 +03:00
Alexander Dudinsky
05d6217f78
Changed gradle-plugin version in Gradle tests.
...
When 6.5.1 Gradle version was added, more tests have began to fail
because of legacy gradle-plugin versions (1.1., 1.2.) which are not
compatible with the new version of Gradle. This commit updates the used
version of the Gradle plugin to the latest stable (1.3.72) and makes it
configurable from tests.
2020-08-05 10:45:15 +03:00
Alexander Dudinsky
6652a7072c
Fix testData due to KT-40551.
...
Starting from version 1.3.60, unnecessary dependencies with runtime
scopes have been added for modules jvmTest and jsTest. After updating
the plugin version in tests from 1.3.50 to 1.3.72 and master,
tests began to fail because of this. In order not to stop other checks
in tests, they were redone for the current behavior with unnecessary
dependencies.
After fixing bug KT-40551, the old behavior in tests will be returned.
2020-08-05 10:45:15 +03:00
Alexander Dudinsky
0298795b18
Add gradle.properties with kotlin.stdlib.default.dependency=false for tests
...
In the master version of plugin dependencies on stdlibs are enabled
by default. It is not expected for some tests.
Flag kotlin.stdlib.default.dependency=false fixed it.
2020-08-05 10:45:15 +03:00
Alexander Dudinsky
bc623e97ec
Add Gradle version 6.5.1 for tests.
2020-08-05 10:45:15 +03:00
Alexander Dudinsky
1da05c54be
Change gradle-plugin versions for tests from 1.3.50 to 1.3.72
2020-08-05 10:45:14 +03:00
Ilya Kirillov
606dc2f723
Fix binary compatibility problems in ImportInsertHelper & ShortenReferences
2020-08-04 12:46:13 +03:00
Dmitry Gridin
a5e9401a0a
[configuration] change updater number to 1.4.* and 1.5.*
...
#KT-40639 Fixed
2020-08-04 11:13:30 +07:00
Mikhail Glukhikh
0804c6a0f3
[FIR] Introduce TYPE_ARGUMENTS_NOT_ALLOWED & some other type errors
...
This commit introduces several different things, in particular:
- check type arguments in expressions
- new TypeArgumentList node to deal with diagnostic source
- ConeDiagnostic was moved to fir:cones
- ConeIntermediateDiagnostic to use in inference (?) without reporting
- detailed diagnostics on error type
2020-08-02 18:19:44 +03:00
Nick
26e3a111d6
[FIR] Add diagnostics for object related problems
2020-07-31 19:34:55 +03:00
Vladimir Ilmov
7eca13569b
(CoroutineDebugger) Enable agent for versions 1.3.8.*
...
Gradle artifact name gets changed from 'kotlinx-coroutines-core' to
'kotlinx-coroutines-core-jvm'. So it should support both.
2020-07-30 17:54:35 +02:00
Toshiaki Kameyama
c91858d470
Convert member to extension: do not suggest for delegated properties
...
#KT-35128 Fixed
2020-07-30 17:32:31 +03:00
Yaroslav Chernyshev
325ad56dcd
Populate Kotlin source set roots with KotlinSourceRootTypes
...
By default Kotlin source root is populated with JavaSourceRootType and
changed during import only if real source folder exists.
Now Kotlin source roots has valid source type right after creation
#KT-37106 Fixed
2020-07-29 19:24:44 +03:00
Nikolay Krasko
a6a22d1cde
Revert "Populate Kotlin source set roots with KotlinSourceRootTypes"
...
This reverts commit e2634190
2020-07-29 12:05:42 +03:00
Yaroslav Chernyshev
e263419088
Populate Kotlin source set roots with KotlinSourceRootTypes
...
By default Kotlin source root is populated with JavaSourceRootType and
changed during import only if real source folder exists.
Now Kotlin source roots has valid source type right after creation
#KT-37106 Fixed
2020-07-29 10:26:42 +03:00
Ilmir Usmanov
4fb5f8603a
Keep $continuation in LVT
...
in case of suspend functions and `this` is case of lambdas, since they
are used in async stack trace generation.
Update tests.
#KT-40661 Open
2020-07-29 00:01:12 +02:00
Kirill Shmakov
5c8833f608
Wizard: improve mobile app template
2020-07-28 12:26:19 +03:00
Ilya Kirillov
dbc43b66bf
Wizard: introduce ModuleConfiguratorProperty
2020-07-28 12:26:18 +03:00
aleksandrina-streltsova
63e2d771b3
Get rid of reflection in new project wizard core: manually specify properties in plugins
2020-07-28 12:26:17 +03:00
Sergey Rostov
45f0328f21
scripting: preload scripting support plugins
2020-07-27 19:44:03 +00:00
Sergey Rostov
b5e04378ed
scripting, ucache: don't init caches at start up
...
init it in async instead. all usages will be updated thanks to
highlighting/reindexing that is called after cache is constructed.
#KT-40242 Fixed
2020-07-27 19:44:03 +00:00
Andrei Klunnyi
f661b7604b
KT-40557 Scratch: .kt files are treated as Kotlin scratches, opening fails
...
https://ea.jetbrains.com/browser/ea_problems/224367
2020-07-27 15:36:02 +02:00
Andrei Klunnyi
c27453632e
EA-235769 // StringIndexOutOfBoundsException
...
https://ea.jetbrains.com/browser/ea_problems/235769
2020-07-27 15:35:59 +02:00
Andrei Klunnyi
29281fd0bf
EA-235761 // NPE fix
...
https://ea.jetbrains.com/browser/ea_problems/235761
2020-07-27 15:35:57 +02:00
Andrei Klunnyi
e63951c38c
EA-235765 // NPE at refactoring suggestion
...
Fixed exception:
java.lang.NullPointerException: null cannot be cast to non-null type
org.jetbrains.kotlin.descriptors.CallableDescriptor
More info: https://ea.jetbrains.com/browser/ea_problems/235765
2020-07-27 15:35:55 +02:00
Dmitry Gridin
e8fd69fde1
[formatter] fix infinite recursion
...
Already exists in the new repo: original-hash e7ea6926a8a414ab6082299d99239ad167ab75a2
#KT-40636 Fixed
2020-07-27 19:56:19 +07:00
Konstantin Tskhovrebov
59f6c0c273
Add flag for avoid double MPP gradle module resolve.
2020-07-27 15:11:48 +03:00
Natalia Selezneva
8d1f9df802
Do not show warning when multiple Gradle Definitions are loaded
...
This will happen when there are multiple gradle project linked to one IDEA project
andthey have different gradle versions
2020-07-27 13:08:01 +03:00
Mikhail Bogdanov
d083297366
Support additional flags in MPP tests. Add diagnostic tests for defaults
2020-07-24 12:10:04 +02:00
Mikhail Bogdanov
125c72cb8d
New default checks for mixed hierarchies
...
Old and new schemes
2020-07-24 12:10:04 +02:00
Yaroslav Chernyshev
0de29e641d
Fixed bug with pureKotlinSourceFolders for common modules
2020-07-24 12:22:00 +03:00
Yaroslav Chernyshev
142bd2e009
Filtering pureKotlinSourceFolders for existing package directories
2020-07-24 12:21:59 +03:00
Yaroslav Chernyshev
e6670d439f
Small renaming classifier -> disambiguationClassifier
2020-07-24 12:21:58 +03:00
Yaroslav Chernyshev
96d9dad429
Fixed tests for pureKotlinSourceFolders by extending created facets
2020-07-24 12:21:57 +03:00
Yaroslav Chernyshev
f490085142
Support pureKotlinSourceFolders for MPP projects
...
#KT-34271 Fixed
#KT-32963 Fixed
2020-07-24 12:21:57 +03:00
Natalia Selezneva
8d894929ae
Minor: unify logging in scripting
2020-07-23 16:31:32 +03:00
Natalia Selezneva
8a6cdcba29
Do not hold a lock during loading script templates from dependencies
...
^KT-40383 Fixed
2020-07-23 16:24:13 +03:00
Natalia Selezneva
493c287bb0
Minor: fix notification text when script configuration is missing after request
2020-07-23 16:20:57 +03:00