Nick
67e58ff152
[FIR] Fix redundant calls to firEffectiveVisibility()
2020-07-13 16:30:47 +03:00
Alexander Udalov
5340cf5567
Add property kotlin.build.useIR to enable JVM IR in Kotlin build
...
Right now this is only supposed to be turned on locally (`./gradlew
-Pkotlin.build.useIR=true ...`), to be able to quickly try how JVM
IR-compiled Kotlin compiler works.
2020-07-13 14:38:22 +02:00
Alexander Udalov
9c36c74357
Build: do not pass JVM compiler arguments to common KotlinCompile
2020-07-13 14:38:22 +02:00
Alexander Udalov
e3f77e9c82
IR: do not use Ir*Impl elements where it's not necessary
...
(cherry picked from commit f9abf365ced93599ff9f4ce38472d89813232228)
2020-07-13 12:52:56 +02:00
Ilya Matveev
9a4e8b83b2
Update Gradle: 6.5.1
...
(cherry picked from commit 1b32660c43bda586bdf91b67b3293c0090c196bd)
2020-07-13 12:52:56 +02:00
Alexander Udalov
8bdd043290
Remove dead code in DeepCopyIrTreeWithDescriptors.kt
...
(cherry picked from commit ef6f9c6b7fb5835458bec9040bc9deb8c141024d)
2020-07-13 12:52:56 +02:00
Alexander Udalov
7f37b19e0a
Remove dead code in KonanIr.kt
...
(cherry picked from commit 5c8c7c770d1c1cc6bea21c4061903804853e47fd)
2020-07-13 12:52:56 +02:00
Alexander Udalov
01507bb115
IR: remove deprecated constructor of IrClassImpl
...
(cherry picked from commit b540c77c0ec65aafd5aaaf83826b654542e346c6)
2020-07-13 12:52:56 +02:00
Alexander Udalov
6f9a4928b3
IR: remove deprecated constructor of IrConstructorImpl
...
(cherry picked from commit e505d12cee8817017415f32a25119cbabdc4d03d)
2020-07-13 12:52:56 +02:00
Alexander Udalov
db1ac079b0
IR: remove deprecated constructors of IrFunctionImpl
...
(cherry picked from commit f2ffcc8b4d84d26c36e50b6de7460178e4f74681)
2020-07-13 12:52:56 +02:00
Alexander Udalov
7cc6edc3ae
IR: remove deprecated constructor of IrValueParameterImpl
...
(cherry picked from commit 66cbe07ea6f41033e46257cf8113d6a689a49e37)
2020-07-13 12:52:56 +02:00
Alexander Udalov
ce1e651f64
IR: remove deprecated constructors of IrVariableImpl
...
(cherry picked from commit 92503830559a735792671f14f7f4d2024779bda0)
2020-07-13 12:52:56 +02:00
Alexander Udalov
524c50253d
IR: remove deprecated constructors of IrPropertyImpl
...
(cherry picked from commit c7134390360aeb194c0f538c90956b1770d54cbb)
2020-07-13 12:52:56 +02:00
Igor Chevdar
90044108e0
[caches] Make output for cache a directory
...
(cherry picked from commit 9850bb322bee2bc98fc453a440e41af0dac0b0f2)
2020-07-13 12:52:56 +02:00
Alexander Udalov
57621d12c5
Undeprecate VariableDescriptorWithAccessors.isDelegated
...
Apparently there's quite a few valid usages of this method outside of
the compiler frontend, where manual suppression is annoying.
https://github.com/JetBrains/kotlin/commit/8c71d8f1262cfcd1591e5ad95f62eab524498f6c
(cherry picked from commit 0aa1ab4cccee3059cf2c1a755434de53b4c35ed2)
2020-07-13 12:52:56 +02:00
Ilya Matveev
ddc3b5e855
Build infrastructure: fix external tests after Gradle update
...
(cherry picked from commit df96df5099b6b49a623f227313aeaccf67289fb6)
2020-07-13 12:52:56 +02:00
Vasily Levchenko
f311df2cf2
[kotlin compiler][update] 1.4.20-dev-2077
...
* e0bc54cd82 - (tag: build-1.4.20-dev-2077) gradle.kts: update notification messages after proofreading (vor 14 Stunden) <Natalia Selezneva>
* 8005df42fb - (tag: build-1.4.20-dev-2060) [FIR] Make redundant visibility modifier a warning (vor 2 Tagen) <Mikhail Glukhikh>
* 5276903bea - Fix code style: DeclarationCheckersDiagnosticComponent (vor 2 Tagen) <Mikhail Glukhikh>
* aee49c3fde - [FIR TEST] Add forgotten txt-file for redundant visibility checker test (vor 2 Tagen) <Mikhail Glukhikh>
* be684c784f - [FIR] Introduce extended checkers for inspection-like diagnostics (vor 2 Tagen) <vladislavf7@gmail.com >
* 4643d483a0 - [FIR] Introduce RedundantVisibilityModifierChecker (vor 2 Tagen) <vladislavf7@gmail.com >
* 510ac66ce1 - (tag: build-1.4.20-dev-2058) Fix tests generation after upgrading Gradle to 6.5 (vor 3 Tagen) <Ilya Muradyan>
* dd47962ad0 - (tag: build-1.4.20-dev-2054, tag: build-1.4.20-dev-2049, tag: build-1.4.20-dev-2048) Extract current Kotlin version value into a separate class (vor 3 Tagen) <Ilya Gorbunov>
* cb513b9a70 - (tag: build-1.4.20-dev-2046) 202: Fix KotlinUastReferencesTest (vor 3 Tagen) <Nikolay Krasko>
* 20683d62a6 - (tag: build-1.4.20-dev-2045) Postpone introducing common StringBuilder.capacity() function (vor 3 Tagen) <Ilya Gorbunov>
* 097e0fb46c - (tag: build-1.4.20-dev-2044, tag: build-1.4.20-dev-2041) JVM IR: Mangle delegated properties with inline class type (KT-40125) (vor 3 Tagen) <Steven Schäfer>
* e48d2b9b83 - (tag: build-1.4.20-dev-2040) ScriptTemplatesClassRootsIndex: inc version and minor fixes (vor 3 Tagen) <Sergey Rostov>
* 1f52c0e0d4 - (tag: build-1.4.20-dev-2039) gradle.kts: improve service initializtion (vor 3 Tagen) <Sergey Rostov>
* a97d718de8 - (tag: build-1.4.20-dev-2035) IR: remove a KotlinType use from Ir.kt (vor 3 Tagen) <Georgy Bronnikov>
* aab95f93f2 - JVM_IR: invoke method descriptor for default lambdas (vor 3 Tagen) <Georgy Bronnikov>
* e8c3c70369 - (tag: build-1.4.20-dev-2033) IR: make IrDeclarationWithVisibility.visibility mutable (vor 3 Tagen) <Alexander Udalov>
* 96f0a8e8e5 - IR: minor, inline OverridableMember (vor 3 Tagen) <Alexander Udalov>
* e674226a3b - IR: do not use Ir*Impl elements where it's not necessary (vor 3 Tagen) <Alexander Udalov>
* dbad81473e - IR: make IrMetadataSourceOwner.metadata mutable (vor 3 Tagen) <Alexander Udalov>
* 689887c94d - (tag: build-1.4.20-dev-2029) [FIR] Fail test if no modules analyzed successfully (vor 3 Tagen) <simon.ogorodnik>
* cdb122c698 - (tag: build-1.4.20-dev-2021) Add skipped ignore directive in test for b08c7eff3841ed33703adb328315a21a5085fea5 (vor 3 Tagen) <Victor Petukhov>
* 0c8b847ae6 - (tag: build-1.4.20-dev-2020) Introduce compiler key to disable compatibility resolution mechanism (vor 3 Tagen) <Mikhail Zarechenskiy>
* c1fd891916 - (tag: build-1.4.20-dev-2015) [FIR IDE] Fix compilation in asKtSymbolOrigin (vor 3 Tagen) <Mikhail Glukhikh>
* 644c5a941b - (tag: build-1.4.20-dev-2012) [Gradle, JS] Add task on webpack-compile sync (vor 3 Tagen) <Ilya Goncharov>
* 939f0d0344 - (tag: build-1.4.20-dev-2006) [IR] minor: make StageController an open class (vor 3 Tagen) <Anton Bannykh>
* abc6ecaa1c - [JS IR BE] support SAM conversions in DCE-driven mode (vor 3 Tagen) <Anton Bannykh>
* 8fcd73e3cb - [JS IR BE] move `exceptionState` initialization from constructor to coroutine `entryState` (vor 3 Tagen) <Anton Bannykh>
* 916a5f367c - [IR] simplify Carriers (remove type parameters) (vor 3 Tagen) <Anton Bannykh>
* adf5ee394e - [JS IR BE] remove unnecesary code from DCE (vor 3 Tagen) <Anton Bannykh>
* 514ac7dc8f - (tag: build-1.4.20-dev-2004) NI: introduce simple calls storage (which aren't gone through type inference) in coroutine inference session to further substitute postponed variable (vor 3 Tagen) <Victor Petukhov>
* 3acb4e54d5 - Update AS version (vor 3 Tagen) <Kirill Shmakov>
* 3e69250f72 - (tag: build-1.4.20-dev-2001) (CoroutineDebugger) Restored frame variables isn't shown for 2020.1. (vor 3 Tagen) <Vladimir Ilmov>
* fbbf4e06ba - (tag: build-1.4.20-dev-2000) [FIR] Support imported callable from object properly #KT-35730 Fixed (vor 3 Tagen) <Mikhail Glukhikh>
* 6b964cb61d - [FIR2IR] Drop explicit receiver double-conversion for objects (vor 3 Tagen) <Mikhail Glukhikh>
* 2f3e1dcbc6 - (tag: build-1.4.20-dev-1990) Add EXACTLY_ONCE contract to suspendCoroutine* functions (vor 3 Tagen) <Ilya Gorbunov>
* 1a32fdf6d7 - Add EXACTLY_ONCE contract to functions that call their lambda parameter once (vor 3 Tagen) <Ilya Gorbunov>
* c85432b2f9 - Fix typo in kotlinx.dom docs (vor 3 Tagen) <Ilya Gorbunov>
* c44fd235ce - (tag: build-1.4.20-dev-1989) [FIR] Remove isEnumEntry field from FirJavaField (vor 4 Tagen) <Ivan Kylchik>
* dcae6f1415 - [FIR] Support when exhaustiveness for java enum (vor 4 Tagen) <Ivan Kylchik>
* 307871a050 - [FIR] Unmute fir spec tests (vor 4 Tagen) <Ivan Kylchik>
* 0baa1c8723 - (tag: build-1.4.20-dev-1986) IR: remove deprecated constructor of IrClassImpl (vor 4 Tagen) <Alexander Udalov>
* e6993e1b88 - IR: remove deprecated constructor of IrConstructorImpl (vor 4 Tagen) <Alexander Udalov>
* ef94716af5 - IR: remove deprecated constructor of IrFieldImpl (vor 4 Tagen) <Alexander Udalov>
* 7f9ef5e11d - IR: remove deprecated constructors of IrFunctionImpl (vor 4 Tagen) <Alexander Udalov>
* 551f1f85a9 - IR: remove secondary constructor of IrModuleFragmentImpl (vor 4 Tagen) <Alexander Udalov>
* 19ec8646b8 - IR: remove convenience factory for IrTypeAliasImpl (vor 4 Tagen) <Alexander Udalov>
* fd83596c91 - IR: remove deprecated constructor of IrTypeParameterImpl (vor 4 Tagen) <Alexander Udalov>
* 0691595ed2 - IR: remove deprecated constructor of IrValueParameterImpl (vor 4 Tagen) <Alexander Udalov>
* bba597cdff - IR: remove deprecated constructors of IrVariableImpl (vor 4 Tagen) <Alexander Udalov>
* d8a2b92098 - IR: remove deprecated constructors of IrPropertyImpl (vor 4 Tagen) <Alexander Udalov>
* 501fea1202 - (tag: build-1.4.20-dev-1973) Fix TCServiceMessagesClient compilation against Gradle 6.5 (vor 4 Tagen) <Vyacheslav Gerasimov>
* 697bb04d46 - Build: Setup jvmTarget 1.6 for several common modules (vor 4 Tagen) <Vyacheslav Gerasimov>
* b5ee0e8222 - Build: Remove jvmTarget 1.6 for several modules depending on 1.8 modules (vor 4 Tagen) <Vyacheslav Gerasimov>
* 1fea01754d - Build: Remove jvmTarget = "1.6" for kotlinx-metadata-klib (vor 4 Tagen) <Vyacheslav Gerasimov>
* 508036742c - Build: Upgrade Gradle to 6.5.1 (vor 4 Tagen) <Vyacheslav Gerasimov>
* 39601f99ab - (tag: build-1.4.20-dev-1971, tag: build-1.4.20-dev-1964) Wizard: update ktor version (vor 4 Tagen) <Ilya Kirillov>
* 44334fca11 - Wizard: consider RC version as a EAP one (vor 4 Tagen) <Ilya Kirillov>
* 9fde2ac269 - Wizard: add kotlinx repo for projects using kotlinx-html (vor 4 Tagen) <Ilya Kirillov>
* 346df07adc - (tag: build-1.4.20-dev-1963, tag: build-1.4.20-dev-1952) 203: Fix compilation for 203 (vor 4 Tagen) <Florian Kistner>
* 4c4af9971e - 203: Bump intellijSdk version for 203 (vor 4 Tagen) <Florian Kistner>
* 202a55cb39 - Bump intellijSdk version for 203 (vor 4 Tagen) <Florian Kistner>
* 1c4d7c5772 - (tag: build-1.4.20-dev-1946, tag: build-1.4.20-dev-1942) Regenerate test data (vor 4 Tagen) <Dmitry Gridin>
* 81869b282b - (tag: build-1.4.20-dev-1941, tag: build-1.4.20-dev-1938) Mute failing QuickFixTestGenerated/KotlinSteppingTestGenerated (vor 4 Tagen) <Yan Zhulanow>
* 2487f9369c - (tag: build-1.4.20-dev-1937) Fix REPL completion for import directives (vor 4 Tagen) <Ilya Muradyan>
* 16aee6c8d6 - (tag: build-1.4.20-dev-1935) [Commonizer] Lookup descriptors that doesn't participate in commonization (vor 4 Tagen) <Dmitriy Dolovov>
* 3af937ea9a - [Commonizer] Remove isDefinitelyNotNullType from CirSimpleType (vor 4 Tagen) <Dmitriy Dolovov>
* 4d21455e72 - Mute testImportAliasMultiDeclarations because of wrong behaviour in headless (vor 4 Tagen) <Nikolay Krasko>
* 593fd646b1 - Add mute-platform.csv.202 (vor 4 Tagen) <Nikolay Krasko>
* ca44242f37 - (tag: build-1.4.20-dev-1926) [IR] Fix synthetic declarations generator to make it produce correct type (vor 4 Tagen) <Roman Artemev>
* d8f5b50cd8 - (tag: build-1.4.20-dev-1921) [native-gradle-plugin] Respected changed cache format (vor 4 Tagen) <Igor Chevdar>
* 79af726872 - [native-gradle-plugin] Fixed problem with rebuilding caches (vor 4 Tagen) <Igor Chevdar>
* bc979a33f7 - (tag: build-1.4.20-dev-1920) Enable FUS for Code Completion in 1.4.0 (vor 4 Tagen) <Anton Yalyshev>
* d3e858645f - (tag: build-1.4.20-dev-1912) [Commonizer] Remove CirTypeSignature from CirType (vor 4 Tagen) <Dmitriy Dolovov>
* 4ab5bfef22 - [Commonizer] Preserve order of supertypes in commonized class (vor 4 Tagen) <Dmitriy Dolovov>
* 5e383e9d71 - [Commonizer] Narrow CirClassifierId subtype cast in AnnotationsCommonizer (vor 4 Tagen) <Dmitriy Dolovov>
* 7a283c64cb - [Commonizer] Minor. Reorder type params for CirNode (vor 4 Tagen) <Dmitriy Dolovov>
* c37f339d8c - (tag: build-1.4.20-dev-1900) Send use-ir and jvmDefaults compiler arguments from IDE (vor 5 Tagen) <Andrey Uskov>
* 550c53c2ac - Report jvm-default compiler arguments from Gradle (vor 5 Tagen) <Andrey Uskov>
* e3a5df1aaa - Report use-ir flag from Gradle (vor 5 Tagen) <Andrey Uskov>
* 340deb01dd - (tag: build-1.4.20-dev-1899) Add 'Incorrect Transient' diagnostic (vor 5 Tagen) <Leonid Startsev>
* 6ef597a4ee - Split ContextualSerialization annotation in two (vor 5 Tagen) <Leonid Startsev>
* 3d91c410e7 - (tag: build-1.4.20-dev-1890) *.gradle.kts: include project sources in script dependencies sources scope (vor 5 Tagen) <Natalia Selezneva>
* 93d7015139 - Remove old roots from KotlinScriptDependenciesCLassFinder (vor 5 Tagen) <Natalia Selezneva>
* 8bb3c0796d - Add original errors into the IllegalStateException from import of build script models (vor 5 Tagen) <Natalia Selezneva>
* 3afc37438e - (tag: build-1.4.20-dev-1889) FIR: handle getClassCall with integer literals (vor 5 Tagen) <Jinseong Jeon>
* 7f472ba24e - (tag: build-1.4.20-dev-1884, tag: build-1.4.20-dev-1880) Switch to isApplicableAsync instead of isApplicable in ToStringRenderer (vor 5 Tagen) <Vladimir Ilmov>
* 3d9353f7f5 - (tag: build-1.4.20-dev-1877, tag: build-1.4.20-dev-1875) [Gradle, JS] Add test on dependencies clash (vor 5 Tagen) <Ilya Goncharov>
* 2e2a5a0156 - [Gradle, JS] Update version in package.json with file dependency (vor 5 Tagen) <Ilya Goncharov>
* 2bb9838a80 - (tag: build-1.4.20-dev-1870) Add test for obsolete issue (vor 5 Tagen) <Mikhail Zarechenskiy>
* 78a4563baf - (tag: build-1.4.20-dev-1867) Update versions of database files to correctly sync muted tests (vor 5 Tagen) <Yunir Salimzyanov>
* 53b2fe9fd8 - (tag: build-1.4.20-dev-1866) Add changelog for 1.4-M3 & 1.3.72 plugins update (vor 5 Tagen) <Lilia>
* d2deff4864 - (tag: build-1.4.20-dev-1862) Add "Replace with 'equals(..., ignoreCase = true)'" inspection (vor 5 Tagen) <Toshiaki Kameyama>
* a5bfa3ae63 - (tag: build-1.4.20-dev-1854) [FIR-TEST] Update broken testdata (vor 5 Tagen) <Dmitriy Novozhilov>
* 86791f1fef - [FIR] Fix parsing `fun` modifier for interfaces in light-tree2fir (vor 5 Tagen) <Dmitriy Novozhilov>
* 58af8d68a1 - [FIR] Check for isFun flag in SAM resolution (vor 5 Tagen) <Dmitriy Novozhilov>
* d1cb776e29 - [FIR] Assume all java interfaces are fun interfaces (vor 5 Tagen) <Dmitriy Novozhilov>
* a3a79e4295 - [FIR] Update testdata due to incorrect SAM detection (vor 5 Tagen) <Dmitriy Novozhilov>
* 29849b1330 - [FIR] Resolve rhs of += in dependent context (vor 5 Tagen) <Dmitriy Novozhilov>
* 943b59b5d8 - (tag: build-1.4.20-dev-1849) Do not provide idea.platform.prefix in run configurations for IJ Ultimate 201+ (vor 5 Tagen) <Vladimir Dolzhenko>
* 38535c4fe1 - (tag: build-1.4.20-dev-1848) New type of task - TestAggregation task (vor 5 Tagen) <Alexander Dudinsky>
* ebc4910834 - (tag: build-1.4.20-dev-1847) ScriptTemplatesClassRootsIndex: inc version and minor fixes (vor 5 Tagen) <Sergey Rostov>
* 4a988f467a - (tag: build-1.4.20-dev-1844) [FIR2IR] Code cleanup: DelegatedMemberGenerator (vor 5 Tagen) <Mikhail Glukhikh>
* d163853c97 - [FIR] add support for implementation by delgation (vor 5 Tagen) <Juan Chen>
* 1d45dc8d81 - (tag: build-1.4.20-dev-1833) Optimize ScriptTemplatesFromDependenciesProvider (vor 6 Tagen) <Natalia Selezneva>
* 45600830d3 - (tag: build-1.4.20-dev-1831) Fixed locking granularity in ScriptDefinitionsManager (vor 6 Tagen) <Vladimir Dolzhenko>
* 77ccb3767c - (tag: build-1.4.20-dev-1829) [FIR] Add system property selector for lightTree2fir / psi2fir (vor 6 Tagen) <simon.ogorodnik>
* a460b8f2f4 - [FIR] Support source directories for lightTree2fir (vor 6 Tagen) <simon.ogorodnik>
* 6c7a40627f - [FIR] Forbid constructors in processFunctionsByName (vor 6 Tagen) <simon.ogorodnik>
* 6bc654ee49 - [FIR] Add full compiler pipeline modularized test (vor 6 Tagen) <simon.ogorodnik>
* b48dfe9b3d - Allow dirs as content root in modularized tests (vor 6 Tagen) <simon.ogorodnik>
* bf1c3777ab - Add IR specific timing measurements to performance manager (vor 6 Tagen) <simon.ogorodnik>
* 0de70d295a - Fix argument names (vor 6 Tagen) <simon.ogorodnik>
* b401443dbd - Compute GC metrics only during compilation (vor 6 Tagen) <simon.ogorodnik>
* 6095ec66ed - Allow to pass external performance manager to compiler (vor 6 Tagen) <simon.ogorodnik>
* 8c71d8f126 - (tag: build-1.4.20-dev-1822) Undeprecate VariableDescriptorWithAccessors.isDelegated (vor 6 Tagen) <Alexander Udalov>
* 50b2ea7053 - (tag: build-1.4.20-dev-1812, tag: build-1.4.20-dev-1807) FIR: avoid cast exception in Candidate.prepareExpectedType (vor 6 Tagen) <Jinseong Jeon>
* a5f34a880c - (tag: build-1.4.20-dev-1801) [FIR] Fix computeTypeArguments() & add diagnostic for type args (vor 6 Tagen) <Nick>
* 8772fabc4f - (tag: build-1.4.20-dev-1797) Fix since-build version for AS 3.6 and AS 4.0 (vor 6 Tagen) <Stanislav Erokhin>
* 50d2b963cc - (tag: build-1.4.20-dev-1795) Revert "202: Fix `GradleFacetImportTest#testJDKImport` test" for 193 bunch (vor 6 Tagen) <Nikita Bobko>
* 496b8d5bd4 - Create 193 bunch for `GradleFacetImportTest.kt` (vor 6 Tagen) <Nikita Bobko>
* 0885d608d8 - (tag: build-1.4.20-dev-1780) JS IR: normalize the generate file path in the box tests (vor 6 Tagen) <Anton Bannykh>
* bb35509c38 - (tag: build-1.4.20-dev-1775) [Gradle, JS] Warning on missed types and typings on genext npm dep (vor 6 Tagen) <Ilya Goncharov>
* 1b3b2e539c - [Gradle, JS] Not run separate dukat if there is no d ts files (vor 6 Tagen) <Ilya Goncharov>
* a18bd1bb75 - (tag: build-1.4.20-dev-1774, tag: build-1.4.20-dev-1773) FIR deserializer: use annotation info from enclosing class for companion object (vor 6 Tagen) <Jinseong Jeon>
* 81345bcc26 - FIR deserializer: load annotations on inner classes (vor 6 Tagen) <Jinseong Jeon>
* c588bc604d - (tag: build-1.4.20-dev-1769) NI: do substitution stub types during updating trace for lambda (these stub types can appear from the builder inference as postponed variables) (vor 6 Tagen) <Victor Petukhov>
* eec3a4720c - NI: don't collect members if a receiver type is `StubType` to avoid creating error candidates instead of not crating them at all (vor 6 Tagen) <Victor Petukhov>
* 989e4293a3 - (tag: build-1.4.20-dev-1768) [FIR] Fix exhaustiveness check in case of sealed subclass (vor 6 Tagen) <Ivan Kylchik>
* 40cd30f7f6 - (tag: build-1.4.20-dev-1766) [FIR] Partial performance fix for the effective visibility checker (vor 6 Tagen) <Nick>
* 80561ec125 - (tag: build-1.4.20-dev-1760) Update kx.serialization dependency (vor 6 Tagen) <Leonid Startsev>
* 74aa3ac79a - (tag: build-1.4.20-dev-1756) Minor: replace deprecated method usage (vor 7 Tagen) <Natalia Selezneva>
* b3a84ba081 - Fix warning in ScriptConfigurationHighlightingTest (vor 7 Tagen) <Natalia Selezneva>
* 6ec13ab38a - Scripts: do not throw roots change event in case when roots are empty (vor 7 Tagen) <Natalia Selezneva>
* 16c5ba0988 - Tests: do not throw roots change event in the current thread (vor 7 Tagen) <Natalia Selezneva>
* 5871628f2b - (tag: build-1.4.20-dev-1753) Possibly fix flacky test of light classes for decompiled declarations (vor 7 Tagen) <Igor Yakovlev>
* 637d3430ff - (tag: build-1.4.20-dev-1751) KT-39869 Remove redundant `performDelayedRefactoringRequests` call (vor 7 Tagen) <Roman Golyshev>
* 5cf6b860a6 - KT-39869 Add inspection for FQN usages of `kotlin.browser` package (vor 7 Tagen) <Roman Golyshev>
* 91fa5d38b3 - KT-39869 Fix review suggestions (vor 7 Tagen) <Roman Golyshev>
* 75de352ce2 - KT-39869 Add `ObsoleteKotlinJsPackagesInspection` inspection (vor 7 Tagen) <Roman Golyshev>
* ec087e8f3d - KT-39869 Move base classes to separate file (vor 7 Tagen) <Roman Golyshev>
* 871bb30dbe - KT-39869 Refactor `ObsoleteExperimentalCoroutinesInspection.kt` (vor 7 Tagen) <Roman Golyshev>
* 6b5c31e2fc - (tag: build-1.4.20-dev-1748) Move statement up: do not apply to @file annotation (vor 7 Tagen) <Toshiaki Kameyama>
* aeed7fe52d - (tag: build-1.4.20-dev-1745) KT-36801 Added forgotten changes for 192 platform (vor 7 Tagen) <Yaroslav Chernyshev>
* 574aa0affe - (tag: build-1.4.20-dev-1741) [FIR] Fix synthetic property is not var due to Nullable on parameter (vor 7 Tagen) <Ivan Kylchik>
* 48c5f48af0 - (tag: build-1.4.20-dev-1739) Ignore test in Native, see #KT-38859 (vor 7 Tagen) <Pavel Punegov>
* cb3d7349a3 - (tag: build-1.4.20-dev-1738) [Gradle, JS] Deprecation of frontend plugin (vor 7 Tagen) <Ilya Goncharov>
* 56afd763dc - (tag: build-1.4.20-dev-1731, tag: build-1.4.20-dev-1724) Minor: add debug log messages (vor 7 Tagen) <Natalia Selezneva>
* 6c0d91837c - Load file attributes for last modified files under try-catch (vor 7 Tagen) <Natalia Selezneva>
* 03bc61c80a - (HEAD -> master, tag: build-1.4.20-dev-1720) [Gradle, JS] Add test on public package json inside archives (jar and klib) (vor 7 Tagen) <Ilya Goncharov>
* f76a1f0e86 - [Gradle, JS] jsJar dependsOn PublicPackageJsonTask (vor 7 Tagen) <Ilya Goncharov>
* 5c968acb13 - [Gradle, JS] Simplify creation of public package json task (vor 7 Tagen) <Ilya Goncharov>
* a2d5cda716 - [Gradle, JS] Output file of public package json as var for changing it (vor 7 Tagen) <Ilya Goncharov>
* a4ad3d88c6 - (tag: build-1.4.20-dev-1718) [Gradle, JS] Remove duplicate of reporting js compiler statistic (vor 7 Tagen) <Ilya Goncharov>
* 974dfbc9ab - (tag: build-1.4.20-dev-1711, tag: build-1.4.20-dev-1709, tag: build-1.4.20-dev-1708) Advance bootstrap to 1.4.20-dev-1680 (vor 7 Tagen) <Vladimir Dolzhenko>
* a2040f01bf - (tag: build-1.4.20-dev-1705) Body elements resolution in KotlinDebuggerCache added / analyzeWithContentAndGetResult (vor 7 Tagen) <Vladimir Ilmov>
* a0f8ada285 - (tag: build-1.4.20-dev-1703) [FIR-TEST] Unmute failing diagnostic tests (vor 7 Tagen) <Dmitriy Novozhilov>
* 4707f4fc3f - (tag: build-1.4.20-dev-1702) Change signature does not make doubled refactoring for java usages (vor 7 Tagen) <Igor Yakovlev>
* 7b9fad00a1 - Rename `KotlinLikeLangLineIndentProvider` to `KotlinLangLineIndentProvider` (vor 7 Tagen) <Dmitry Gridin>
* b75de60afb - (tag: build-1.4.20-dev-1701) Minor: mute failing test (vor 7 Tagen) <Dmitry Petrov>
2020-07-13 12:52:56 +02:00
Kristoffer Andersen
8d79a6ae03
[JVM IR] Copy inline class constructor annotations
2020-07-13 11:50:34 +03:00
Sergey Bogolepov
de9f1bf2bf
[Interop][Lowering] A bit more helpful error reporting
2020-07-13 15:37:59 +07:00
Sergey Bogolepov
ba52a437b1
[Interop][Lowering] Fix access to struct members of Boolean type
2020-07-13 15:37:59 +07:00
Sergey Bogolepov
6c45bb416b
[Tests][Interop] Add test fields of _Bool type
2020-07-13 15:37:59 +07:00
Mikhail Zarechenskiy
678b76cab1
Fix presence of Deprecated hidden annotation for reference arguments
...
#KT-40234 Fixed
2020-07-13 11:23:28 +03:00
Ilya Matveev
c2e0cd60d7
Gradle tests: Temporary disable NativePlatformLibsIT for Windows
...
This test causes a build timeouts on CI which cannot be reproduced
locally. So we disable them to not block the testing process until
a proper fix is found.
2020-07-13 07:48:35 +00:00
Dmitry Savvinov
3ef760604b
Force expansion to have the same nullability as abbreviation
...
Note that classifier.underlyingType is always non-nullable, but
abbreviation might be nullable, so we should keep them consistent
^KT-40199 Fixed
2020-07-13 11:50:10 +07:00
Dmitry Savvinov
8890ae10d4
Add test on signatures with nullable abbreviated types
...
Currently test fails, see KT-40199
2020-07-13 11:50:10 +07:00
Natalia Selezneva
e0bc54cd82
gradle.kts: update notification messages after proofreading
2020-07-12 22:37:45 +03:00
Mikhail Glukhikh
8005df42fb
[FIR] Make redundant visibility modifier a warning
2020-07-11 10:45:33 +03:00
Mikhail Glukhikh
5276903bea
Fix code style: DeclarationCheckersDiagnosticComponent
2020-07-11 10:45:33 +03:00
Mikhail Glukhikh
aee49c3fde
[FIR TEST] Add forgotten txt-file for redundant visibility checker test
2020-07-11 10:45:32 +03:00
vladislavf7@gmail.com
be684c784f
[FIR] Introduce extended checkers for inspection-like diagnostics
2020-07-11 10:45:32 +03:00
vladislavf7@gmail.com
4643d483a0
[FIR] Introduce RedundantVisibilityModifierChecker
2020-07-11 10:45:10 +03:00
Ilya Muradyan
510ac66ce1
Fix tests generation after upgrading Gradle to 6.5
2020-07-10 22:07:10 +03:00
Pavel Punegov
10484fbb29
Add -Xexpect-actual-linker to the directives parsing
2020-07-10 20:20:23 +03:00
Pavel Punegov
aa659475f1
Filter duplicated dependency link options
2020-07-10 20:20:23 +03:00
Ilya Gorbunov
dd47962ad0
Extract current Kotlin version value into a separate class
...
In order to selectively ignore it during classpath normalization,
and do not recompile all the dependencies when just the version value
changes.
2020-07-10 19:12:07 +03:00
Nikolay Krasko
cb513b9a70
202: Fix KotlinUastReferencesTest
2020-07-10 19:09:27 +03:00
Ilya Gorbunov
20683d62a6
Postpone introducing common StringBuilder.capacity() function
...
Its support complicates JS StringBuilder implementation with no actual
performance improvements. Benefits of having capacity() function
in common code are also not completely clear.
Relates to KT-33069
#KT-40168
2020-07-10 18:49:39 +03:00
Pavel Punegov
d5a6c33b20
Add a special case for floating-point pow() function: in case of ±0 the function should return 1.0
2020-07-10 18:48:27 +03:00
Steven Schäfer
097e0fb46c
JVM IR: Mangle delegated properties with inline class type (KT-40125)
2020-07-10 17:06:44 +02:00
Sergey Rostov
e48d2b9b83
ScriptTemplatesClassRootsIndex: inc version and minor fixes
...
Content was changed, so we should force reindex.
Minor changes:
- There is no need to save a string, we can just save nothing
by using the Unit value (see UnitKey.save and UnitKey.read)
- Unit can be shared between all indexes, so we can extract UnitKey object
- It would be good to extract abstract class FileListIndex:
- for better readability: separate the logic of the specific index from the common FileListIndex implementation
- someone can use it also
- mapOf (Unit to null) will create singletonMap itself and more readable
- ScriptTemplatesClassRootsIndex.KEY perhaps better to call NAME
2020-07-10 18:01:38 +03:00
Sergey Rostov
1f52c0e0d4
gradle.kts: improve service initializtion
...
- prevent analyzing .gradle.kts files until all services are loaded
- remove services caches where it is not required
- replace cached services with cache only during vfs events batch processing
- prevent services loading in actions updating
2020-07-10 17:47:10 +03:00
Georgy Bronnikov
a97d718de8
IR: remove a KotlinType use from Ir.kt
2020-07-10 17:35:30 +03:00
Georgy Bronnikov
aab95f93f2
JVM_IR: invoke method descriptor for default lambdas
2020-07-10 17:35:29 +03:00
Alexander Udalov
e8c3c70369
IR: make IrDeclarationWithVisibility.visibility mutable
...
It was mutable anyway in many subclasses. This is needed in order to
avoid depending on concrete IR implementations in the JVM IR backend
where it's necessary to be able to change visibility.
2020-07-10 16:17:06 +02:00
Alexander Udalov
96f0a8e8e5
IR: minor, inline OverridableMember
2020-07-10 16:17:06 +02:00
Alexander Udalov
e674226a3b
IR: do not use Ir*Impl elements where it's not necessary
2020-07-10 16:17:06 +02:00
Alexander Udalov
dbad81473e
IR: make IrMetadataSourceOwner.metadata mutable
...
To avoid casting to specific Ir*Impl elements at call sites.
Also inherit from IrMetadataSourceOwner only where it's needed: class,
file, function, property. Previously this field was always null and took
some space for things like value parameters, type parameters, etc.
2020-07-10 16:17:05 +02:00
simon.ogorodnik
689887c94d
[FIR] Fail test if no modules analyzed successfully
2020-07-10 16:25:22 +03:00
Victor Petukhov
cdb122c698
Add skipped ignore directive in test for b08c7eff3841ed33703adb328315a21a5085fea5
2020-07-10 14:52:51 +03:00
Mikhail Zarechenskiy
0c8b847ae6
Introduce compiler key to disable compatibility resolution mechanism
...
Enable it if one was using new inferene before 1.4
#KT-40128 Fixed
#KT-40112 Fixed
#KT-40113 Fixed
2020-07-10 14:23:45 +03:00