Ilya Kirillov
7204ab091a
Wizard: add suggested module names for js targets
2019-12-18 15:54:44 +03:00
Ilya Kirillov
fc9f63d49f
Wizard: do not allow to create more than one target of each type
2019-12-18 15:54:42 +03:00
Ilya Kirillov
aa2992e84a
Wizard: add additional applicability checker for template
2019-12-18 15:54:41 +03:00
Ilya Kirillov
40367635cc
Wizard: remove unused android service
2019-12-18 15:54:40 +03:00
Ilya Kirillov
af174b4f74
Wizard: format templates code
2019-12-18 15:54:38 +03:00
Ilya Kirillov
b29e6d0c69
Wizard: add simple js template
2019-12-18 15:54:36 +03:00
Ilya Kirillov
5d56f3d28b
Wizard: do not print duplicated repositories
2019-12-18 15:54:35 +03:00
Ilya Kirillov
32a151f561
Wizard: introduce interceptors for module templates
2019-12-18 15:54:33 +03:00
Ilya Kirillov
8bf9c31880
Wizard: add simple JS client template
2019-12-18 15:54:30 +03:00
Ilya Kirillov
56fccce305
Wizard: add basic ktor server template
2019-12-18 15:54:27 +03:00
Ilya Kirillov
f927fb3471
Wizard: introduce ServicesManager & correctly handle disabled gradle & maven Idea plugins
2019-12-18 15:54:24 +03:00
Ilya Kirillov
9011eecfdf
Wizard: change wizard title to experimental
2019-12-18 15:54:22 +03:00
Ilya Kirillov
b10e157147
Wizard: Create parent group for current and experimental project wizard
2019-12-18 15:54:20 +03:00
Ilya Kirillov
8684b0d6c1
Wizard: show experimental new project wizard only by registry flag
2019-12-18 15:54:19 +03:00
Ilya Kirillov
aca193ddd2
Wizard: Add initial version of the new project wizard
2019-12-18 15:54:16 +03:00
Mikhael Bogdanov
4916f166fe
Move android.test.dependencies under dependencies folder
2019-12-18 13:34:28 +01:00
Georgy Bronnikov
0d8036bb14
JVM_IR: do not generate main() when extension main is present
...
Extension methods with signature C.main() should not cause generation
of main(args: Array<String>).
2019-12-18 15:25:57 +03:00
Victor Petukhov
9d0c736f0e
Use assertAllTestsPresentByMetadataWithExcluded for addSpreadOperatorForArrayAsVarargAfterSam IDE quick fix test
2019-12-18 15:21:01 +03:00
Georgy Bronnikov
220ea72d65
JVM_IR: add coercion for index in ArrayGet intrinsic
2019-12-18 13:03:12 +03:00
Igor Chevdar
cca3f13e48
Added multi-module test on inline functions
2019-12-18 12:45:41 +03:00
Roman Golyshev
bd805d71b1
KT-35463 EA-214439 Pass adjusted files to KotlinAwareMoveFilesOrDirectoriesDialog instead of originals
...
- Passing raw `sourceElements` have lead to `ClassCastException` when `KtClassOrObject` was casted to `PsiFileSystemItem` in `KotlinAwareMoveFilesOrDirectoriesDialog::initializeData`
- Migrate from `[PsiElement]` to more precise `[PsiFileSystemItem]`
- This removes the cast to `PsiFileSystemItem` at all
- This bug can be reproduced only in Android Studio for some reason
- ^KT-35463 Fixed
- ^EA-214439 Fixed
2019-12-18 12:00:47 +03:00
Toshiaki Kameyama
dd8396efbc
Convert lambda to reference: support nested class constructor call ( #2877 )
...
#KT-34690 Fixed
2019-12-17 22:52:46 +01:00
Zalim Bashorov
646c7ad0af
[IDE, klib] Support in IDE klibs with dynamic type
2019-12-17 22:06:55 +03:00
Vyacheslav Gerasimov
34eb664504
Build: Remove teamcity tag setup from settings.gradle (tag via gradle arguments instead)
2019-12-17 20:53:13 +03:00
Alexander Udalov
7eda60d57e
Minor, add more tests on signature-polymorphic calls
...
Add a test on null (since null is a special case in the
PolymorphicSignature spec), and a test on a call without assignment to a
variable
2019-12-17 18:44:19 +01:00
Alexander Udalov
64d40b4743
Support JVM polymorphic signature calls to methods with void return type
...
#KT-32026 Fixed
2019-12-17 18:39:05 +01:00
Alexander Udalov
e009c7064e
Add -Xopt-in command line argument
...
As per https://github.com/Kotlin/KEEP/pull/201
2019-12-17 18:17:48 +01:00
Alexander Udalov
cdbabf224f
Introduce RequiresOptIn and OptIn annotations
...
RequiresOptIn should be used now instead of Experimental, OptIn instead
of UseExperimental. See https://github.com/Kotlin/KEEP/pull/201 .
This change adds the new declarations only to the stdlib, and supports
them in the compiler. Because of the way compiler loads annotations, we
need to bootstrap it first before deprecating the old annotations and
updating tests.
#KT-34647 Fixed
2019-12-17 18:17:48 +01:00
Alexander Udalov
33bc3db144
Deprecate -Xexperimental compiler argument
...
This option is not widely used and its implementation relies on a
complicated mechanism of a module-wide metadata, which is not properly
supported in the IDE (see IdeModuleAnnotationsResolver).
#KT-34649 Fixed
2019-12-17 18:17:48 +01:00
Vyacheslav Gerasimov
571bba7c04
Build: Add teamcity tag to build scans
2019-12-17 20:10:49 +03:00
Abduqodiri Qurbonzoda
b868e6f8da
Rename Appendable methods parameters
2019-12-17 19:04:00 +03:00
Simon Ogorodnik
d1c0dfe8ac
[FIR] Run System.gc() before each pass in modularized tests
2019-12-17 18:25:08 +03:00
Roman Artemev
0f71460833
Add missed comment
2019-12-17 18:04:52 +03:00
Toshiaki Kameyama
dbb282e60f
Arg postfix postfix completion: fix typo in description
...
#KT-34386 Fixed
2019-12-17 18:03:43 +03:00
Roman Artemev
cad3cb1bbe
[KLIB] Fix references to type made from TypeParameter in KotlinMangler
...
- promote ABI version
2019-12-17 17:56:07 +03:00
Mikhail Glukhikh
3544bf17f4
ConeIntegerLiteralType: extract COMPARABLE_TAG
2019-12-17 17:28:17 +03:00
Mikhail Glukhikh
3d961ffe8f
ConeTypeContext: use built-in nullable any type
2019-12-17 17:28:16 +03:00
Mikhail Glukhikh
4d0b121223
FIR SAM resolution: use built-in nullable any type
2019-12-17 17:28:16 +03:00
Mikhail Glukhikh
c6db5abb14
FIR call resolve: make earlier qualifier resolver reset
2019-12-17 17:28:09 +03:00
Mikhail Glukhikh
684bdc44bb
FIR: add implementation of reified type parameter references
...
This adds support of T::class.java for reified type parameters
2019-12-17 17:28:01 +03:00
Mikhail Glukhikh
cccb95465e
FIR status resolve: update type alias phase
...
This prevents repeating of this phase for aliases
2019-12-17 17:28:00 +03:00
Mikhail Glukhikh
a6b6c9ba18
Minor: remove when unreachable branches
2019-12-17 17:28:00 +03:00
Mikhail Glukhikh
af3ab9178a
Minor: remove unused imports
2019-12-17 17:27:59 +03:00
Roman Golyshev
8e53ccb852
Add ML completion jar to the resulting plugin jar
...
- Without it, ML completion jar will not be present in the runtime, causing errors when ML completion is enabled
- This step should have been done in 28ec74648e commit
2019-12-17 16:33:20 +03:00
Georgy Bronnikov
e92985458b
JVM_IR: skip private declarations in imported classes
2019-12-17 15:53:29 +03:00
Igor Chevdar
776736a25a
[IR] Remapped some forgotten types during IR copying
2019-12-17 15:48:56 +03:00
Svyatoslav Kuzmich
f099277210
[JS IR] Unmute tests and add KJS_WITH_FULL_RUNTIME
2019-12-17 15:33:43 +03:00
Svyatoslav Kuzmich
e32ec2a789
[JS IR BE] Support typeOf
2019-12-17 15:33:43 +03:00
Svyatoslav Kuzmich
3df8393ede
[JS IR] Properly report compiler errors
...
Report compiler errors using message collector
Instead of crashing with stack trace
2019-12-17 15:33:43 +03:00
Nikolay Krasko
ea8fa55f12
Rename kotlinJUnitSettings test data folder to fix tests
2019-12-17 15:09:50 +03:00