Pavel Kirpichenkov
175fe163af
Add cancelation check when building anchor mappings
2020-06-03 20:58:07 +03:00
Pavel Kirpichenkov
7fff8f82e2
Changes after review
...
- Replace leaking ModuleResolverTracker with use of ModuleDescriptor.Capabilies
- Provide API for retrieving ResolverForProject from ResolutionFacade
- Update names
2020-06-03 20:58:07 +03:00
Pavel Kirpichenkov
db1210fc67
Introduce components for library-to-source resolution in IDE
...
#KT-24309 In progress
2020-06-03 20:58:07 +03:00
Yan Zhulanow
0b2c9ff77a
IDE plugin dependencies: publish kotlin-main-kts artifact
2020-06-04 02:49:42 +09:00
Ilmir Usmanov
822c14814b
Revert "Completely rewrite reifiedIntTypeAnalysis, making it more streamline"
...
This reverts commit 1ed4324613 .
Otherwise, bootstrap is broken.
2020-06-03 19:43:59 +02:00
Toshiaki Kameyama
148f49d54a
UselessCallOnCollectionInspection: fix false positive when lambda last statement is function call that returns generic type
...
#KT-38267 Fixed
2020-06-03 20:42:42 +03:00
Vyacheslav Gerasimov
3c8ef5749f
Build: Remove identifying info from build scans
2020-06-03 19:04:07 +03:00
Sergey Igushkin
35b1bb05c8
Merge KT-MR-1260 from rr/gradle/igushkin/fix-kt-39304-unused-source-sets-failure
2020-06-03 14:32:53 +00:00
Anton Bannykh
a18bfad53a
Add stdlib API test + remove some extra IR stdlib API's
2020-06-03 17:14:29 +03:00
Ilmir Usmanov
1ed4324613
Completely rewrite reifiedIntTypeAnalysis, making it more streamline
...
and easy to understand and optimize if it would be a bottleneck.
Use LVT to get information of refined int type in one specific case
#KT-38925 Fixed
2020-06-03 16:03:50 +02:00
Ilmir Usmanov
0e908b720d
Replace SourceInterpreter with specific one in tail-call optimization
2020-06-03 16:03:49 +02:00
Ilmir Usmanov
3fa9ea9bc0
Remove unreachable instructions
2020-06-03 16:03:48 +02:00
Ilmir Usmanov
ea60b83f16
Fix merging two sources with same type
2020-06-03 16:03:48 +02:00
Ilmir Usmanov
cd0e218a07
Rewrite RedundantLocalsEliminationMethodTransformer
...
Use specific interpreter instead of SourceInterpreter.
2020-06-03 16:03:48 +02:00
Ilmir Usmanov
f247ea7c27
Replace SourceInterpreter with a specific one in coroutines inlining
2020-06-03 16:03:48 +02:00
Dmitry Petrov
99a1ef0460
Minor: mute test in JS_IR
2020-06-03 16:09:52 +03:00
Ilya Goncharov
426f164e02
[Gradle, JS] Webpack on file providers for task configuration avoidance
2020-06-03 15:59:33 +03:00
Ilya Goncharov
01f3e4b083
[Gradle, JS] Make destinationDir as var
2020-06-03 15:59:33 +03:00
Ilya Goncharov
402dfd5da7
[Gradle, JS] Use RegularFile to not explicit dependsOn
...
^KT-32273 fixed
^KT-36451 fixed
^KT-37258 fixed
2020-06-03 15:59:33 +03:00
Ilya Goncharov
e27bd04ba2
[Gradle, JS] Add dependency on dce task
...
^KT-32273 fixed
^KT-36451 fixed
^KT-37258 fixed
2020-06-03 15:59:32 +03:00
Ilya Goncharov
d3260bca27
[Gradle, JS] JsBinaryType to KotlinJsBinaryType
2020-06-03 15:59:32 +03:00
Ilya Goncharov
d27ad99daa
[Gradle, JS] KotlinJsType to KotlinJsMode
2020-06-03 15:59:32 +03:00
Ilya Goncharov
a5e46568ee
[Gradle, JS] Move common part of webpack configuration to separate fun
...
^KT-32273 fixed
^KT-36451 fixed
^KT-37258 fixed
2020-06-03 15:59:32 +03:00
Ilya Goncharov
ef63d6f84c
[Gradle, JS] Add resolveFromModulesFirst to build tasks
2020-06-03 15:59:32 +03:00
Ilya Goncharov
d4d8495840
[Gradle, JS] Use property for webpack entry
2020-06-03 15:59:32 +03:00
Ilya Goncharov
65db6bb2a5
[Gradle, JS] Add dce to development
...
^KT-32273 fixed
^KT-36451 fixed
^KT-37258 fixed
2020-06-03 15:59:31 +03:00
Ilya Goncharov
9d8eb65a5e
[Gradle, JS] Use API form Gradle 5.0
2020-06-03 15:59:31 +03:00
Dmitry Petrov
ba43ee8410
Handle error type in SamType
2020-06-03 15:57:24 +03:00
Svyatoslav Kuzmich
b0445496bb
[JS] Autogenerate and mute missing test
2020-06-03 15:19:36 +03:00
Svyatoslav Kuzmich
af13ae1ef2
[JS] Add klib to kostlin-stdlib-js.jar distribution
...
Fixes KTI-177 and KT-35857
2020-06-03 14:16:46 +03:00
Igor Yakovlev
ebae6332aa
Fix invalid resources placement
...
For ExpandBooleanExpressionIntention and RedundantAsSequence intention
2020-06-03 14:02:58 +03:00
Dmitriy Novozhilov
f2d0d8b422
[FIR-PLUGIN] Add test for supertype modification extension
2020-06-03 13:10:17 +03:00
Dmitriy Novozhilov
dae2acca88
[FIR] Remove useless hack for builtins from supertype resolution
2020-06-03 13:10:17 +03:00
Dmitriy Novozhilov
9fa4ff750b
[FIR] Fix ArrayMapImpl.iterator()
2020-06-03 13:10:17 +03:00
Dmitriy Novozhilov
15d85bdc05
[FIR] Add extension for adding new supertypes
2020-06-03 13:10:17 +03:00
Dmitriy Novozhilov
0c18cb054d
[FIR-PLUGIN] Add tests for generating declarations from plugin
2020-06-03 13:10:17 +03:00
Dmitriy Novozhilov
eceeacdf61
[FIR] Change nested class generation extension to generate top-level classes also
2020-06-03 13:10:16 +03:00
Dmitriy Novozhilov
9cc13c8324
[FIR-PLUGIN] Add dummy implementation for nested class generator extension
2020-06-03 13:10:16 +03:00
Dmitriy Novozhilov
8acdb39bdd
[FIR-PLUGIN] Add dummy implementation for member generator extension
2020-06-03 13:10:16 +03:00
Dmitriy Novozhilov
1b120c189e
[FIR] Record generated classes in FirProvider
2020-06-03 13:10:16 +03:00
Dmitriy Novozhilov
ed55e84afa
[FIR] Distinct declarations found by FirPredicateBasedProvider
2020-06-03 13:10:15 +03:00
Dmitriy Novozhilov
87f0f123a8
[FIR] Add extension for generating new members for existing classes
2020-06-03 13:10:15 +03:00
Ilya Goncharov
bd194686df
[Gradle, JS] Add index.html to Kotlin DSL wizard
...
^KT-39275 fixed
2020-06-03 12:58:59 +03:00
Toshiaki Kameyama
6cb0190fad
FoldInitializerAndIfToElvis: should not add new line for multiline initializer
...
#KT-35805 Fixed
2020-06-03 12:35:50 +03:00
Roman Artemev
5eae262264
[PLUGIN API] Implement custom linkage for plugin extensions
2020-06-03 12:17:14 +03:00
Roman Artemev
a401374ed4
[PLUGIN API] Add extension point to customize linkage process
2020-06-03 12:17:14 +03:00
Roman Artemev
f9c2c846f7
[IR] Move IrProvider and 'IrDeserializer' into separate package
2020-06-03 12:17:14 +03:00
Henrik Tunedal
71da941c8b
Use system-specific user cache directory in main-kts
...
#KT-38222 fixed
2020-06-03 11:11:33 +02:00
Henrik Tunedal
8f80cf5664
Improve hashing of script files
2020-06-03 11:11:30 +02:00
Ilya Goncharov
890da492fb
[Gradle, JS] Fix grammar in methods for JS import
2020-06-03 12:04:20 +03:00