Rick Clephas
2c8086bbfe
Preserve symlinks during framework copy
2021-12-17 15:07:06 +03:00
Dmitry Savvinov
46ab972cb1
Exclude common parts of kotlin-test from platform source sets
...
See details in linked issue. Tests are on the intellij-side
^KT-47570 Fixed
2021-12-17 15:04:51 +03:00
Dmitry Petrov
0805916564
IR KT-47483 handle 'Nothing' in array constructor call
2021-12-17 13:43:59 +03:00
Pavel Kunyavskiy
c9e9cbb62d
[K/N] Fix vtable generation for nested suspend function inheritance
...
^KT-50304
2021-12-17 10:30:48 +00:00
Ryan Nett
015176a738
Have kotlin-compiler-embeddable copy sources and javadocs from kotlin-compiler
...
#KT-42183 Fixed
2021-12-17 04:24:28 +03:00
nataliya.valtman
9e4f3e3848
KT-41689: Support statistics for Configuration Cache
...
#KT-41689 Fixed
2021-12-16 19:20:04 +00:00
Vyacheslav Gerasimov
84469d0c68
Build: Fix test runtime for kapt tests
2021-12-16 21:48:29 +03:00
Vyacheslav Gerasimov
4d87843925
Build: Set versions.trove4j to the version used in IDEA 203.8084.24
2021-12-16 21:48:27 +03:00
Vyacheslav Gerasimov
41902e69f5
Build: Move libraries versions from root project to versions.properties
...
and cleanup unused versions
2021-12-16 21:48:25 +03:00
Vyacheslav Gerasimov
443cbcbc3c
Minor: Reformat and fix warnings in dependencies.kt
2021-12-16 21:48:24 +03:00
Vyacheslav Gerasimov
944c7990a1
Build: Use fake ideaHome for tests with intellij build number only
...
#KTI-82
2021-12-16 21:48:24 +03:00
Vyacheslav Gerasimov
516e54a434
Build: Drop Idea run configurations from jps.gradle.kts
2021-12-16 21:48:23 +03:00
Vyacheslav Gerasimov
f7a9065b75
Build: Use intellij maven repo instead of downloaded IDEA
...
#KTI-82
2021-12-16 21:48:23 +03:00
Vyacheslav Gerasimov
9f725da7f7
Build: Stop building ivy repo from full Idea during buildSrc build
...
#KTI-82
2021-12-16 21:48:22 +03:00
Vyacheslav Gerasimov
318e001d1b
Fix parcelize test dependencies on android plugin layoutlib
...
#KTI-82
2021-12-16 21:48:22 +03:00
Vyacheslav Gerasimov
049066f8ac
Replace systemIndependentPath from Idea with invariantSeparatorsPath
2021-12-16 21:48:21 +03:00
Vyacheslav Gerasimov
0727981ae6
Build: Move kotlinxCollectionsImmutable helper to dependencies.kt
2021-12-16 21:48:21 +03:00
Vyacheslav Gerasimov
269366d8c3
Build: Drop obsolete form instrumentation
2021-12-16 21:48:20 +03:00
Vyacheslav Gerasimov
b86e85624e
Build: Use annotations dependency from intellij-dependencies maven repo
...
#KTI-82
2021-12-16 21:48:20 +03:00
Vyacheslav Gerasimov
bc2f0936bd
Build: Rename commonDep -> commonDependency
2021-12-16 21:48:19 +03:00
Vyacheslav Gerasimov
156ecce961
Build: Fix unconditional adding kotlin-reflect.jar for JPS build
...
Should be added only when JPS build enabled to avoid kotlin-reflect
reindexing after each build
2021-12-16 21:48:18 +03:00
Dmitry Petrov
8c71e38c92
JVM_IR KT-49765 bridge for throwing stub should just throw UOE
2021-12-16 21:07:12 +03:00
Steven Schäfer
3f22321643
jvm-abi-gen: Do not write kotlin.Metadata default values
...
See KT-39492. This does not affect compilation, but it causes problems
in IntelliJ.
2021-12-16 16:11:32 +01:00
Victor Petukhov
e50e055eb4
[FE 1.0] Don't try to compute value parameters for variables while creating a flat signature for the overload resolution
...
^KT-50172 Fixed
2021-12-16 17:46:01 +03:00
Aleksei.Cherepanov
c998582e13
Fix configuration [JPS] Generate All Tests
...
Add missing dependency kotlin.core.descriptors.runtime.main instead of only kotlin.core.descriptors.runtime.test dependency, as ReflectClassUtilKt (in main source set) is needed for tests generation
2021-12-16 13:05:14 +00:00
Sergej Jaskiewicz
6dc69adcc9
[JS IR] Don't mark Char as a value class
...
Char will still be treated as a value class
(see JsInlineClassesUtils.kt)
2021-12-16 12:46:11 +00:00
Alexander Korepanov
f99b80c8d2
[JS IR] Add a test case with same names for private val
...
The test case checks, that KT-44728 has been already fixed
2021-12-16 10:59:01 +00:00
Svyatoslav Scherbina
7b60c0427e
Native: remove calculator and cocoapods samples
...
Redirect to the up-to-date alternatives.
2021-12-16 09:34:36 +00:00
Elena Lepilkina
f650311b11
[K/N] Support properties in BCE
2021-12-16 08:33:36 +00:00
Dmitry Petrov
ab9747ed6d
JVM_IR KT-50277 skip temporary var elimination on inline suspend lambda
2021-12-16 06:40:22 +00:00
Alexander Udalov
6807ed6642
Do not write version requirements for suspend functions
...
Coroutines are a stable feature since 1.3. Version requirement on
suspend functions, or functions mentioning suspend function types in the
signature, was needed to prevent older compilers from reading metadata
that they can't properly use. It's not needed anymore because a newer
metadata version prevents older compilers from reading any metadata
altogether.
Also, computing isSuspendOrHasSuspendTypesInSignature took ~0.5% of
backend time on compilation of intellij (related to KT-48233).
2021-12-15 22:27:51 +01:00
Alexander Shabalin
8863d48595
[K/N] Simplify safepoint slowpath in CMS
...
^KT-50291
Merge-request: KT-MR-5263
2021-12-15 19:34:16 +00:00
Simon Ogorodnik
8b23d86bd9
Treat mixed (subtyping, inference) sub-types properly in CST
2021-12-15 22:23:18 +03:00
Victor Petukhov
b3943f5ab6
[FE 1.0] Process builder inference stub types with different nullability properly
...
^KT-49887 Fixed
2021-12-15 22:23:18 +03:00
Simon Ogorodnik
32a80bf38e
FIR: Add fast-path for getOrderedAllTypeVariables if no synthetics
2021-12-15 22:23:16 +03:00
Simon Ogorodnik
8cf97127fe
Add util for safe registration of type variables in constraint system
2021-12-15 22:23:16 +03:00
Simon Ogorodnik
d084cfb65b
FIR HL API: Unwrap substitution overrides if it contains stub types
2021-12-15 22:23:15 +03:00
Simon Ogorodnik
9e8727e6a8
FIR Minor: Reformat
2021-12-15 22:23:14 +03:00
Simon Ogorodnik
1593dd2514
FIR: Remove recursive processAllContainingCallCandidates
2021-12-15 22:23:14 +03:00
Simon Ogorodnik
bb13583862
FIR: Rename stub type for builder inference
2021-12-15 22:23:13 +03:00
Simon Ogorodnik
1a288fcdcd
FIR: Lookup contained postponed atoms recursively in delegate inference
2021-12-15 22:23:13 +03:00
Simon Ogorodnik
26b158bded
FIR: Update test-data (Delegate inference)
2021-12-15 22:23:12 +03:00
Simon Ogorodnik
951eebcd68
FIR: Do not invert order of synthetic variables
2021-12-15 22:23:11 +03:00
Simon Ogorodnik
df9da371cb
FIR: Fix synthetic type variables to independent stub types
2021-12-15 22:23:11 +03:00
Simon Ogorodnik
580410863f
FIR: Allow to create synthetic variables during stub creation
2021-12-15 22:23:10 +03:00
Simon Ogorodnik
c3c4404bc5
FIR: Use only successful calls for constraints in delegate inference
2021-12-15 22:23:10 +03:00
Simon Ogorodnik
64944a1247
FIR: Register type variables properly in builder inference
2021-12-15 22:23:09 +03:00
Simon Ogorodnik
0d9ed6990e
FIR: Build currentConstraintStorage for delegate inference incrementally
2021-12-15 22:23:08 +03:00
Mikhail Glukhikh
a4df0aaa7d
FIR: Add test
2021-12-15 22:23:08 +03:00
Mikhail Glukhikh
2338281889
FIR: Add test for get class + let in delegation
2021-12-15 22:23:07 +03:00