Leonid Startsev
df5f38fec8
Implement reading kx.serialization runtime metadata from jar manifest
...
That allows to check whether current compiler plugin can work with
a given runtime version. Implementation-Version can help to detect whether
runtime version is too low, and Require-Kotlin-Version detects whether
runtime version is too high.
Corresponding diagnostic for Require-Kotlin included.
Implement minimal runtime version check for kotlinx.serialization
plugin.
#KT-40036 Fixed
Cache result from getVersionsForCurrentModule in BindingTrace.
Hide check in the IDE, because caching in trace does not work there.
2020-07-21 15:10:08 +03:00
Leonid Startsev
7db0bf8195
Add new serialization runtime packages
...
encoding and descriptors. Rename ContextSerializer to Contextual.
Unify getClassFrom*Package functions.
2020-07-21 15:02:06 +03:00
Ivan Kylchik
8b9fb6a6cd
[FIR] Remove FirOperatorCall node from fir tree
2020-07-21 13:54:19 +03:00
Ivan Kylchik
3c01a39846
[FIR] Update test data after introducing new fir nodes
2020-07-21 13:54:17 +03:00
Ivan Kylchik
d77d733244
[FIR] Complement fir rendering with newly created nodes
2020-07-21 13:54:17 +03:00
Ivan Kylchik
9a119a6757
[FIR] Replace all necessary usages of operator call with new ones
...
#KT-38333 Fixed
2020-07-21 13:54:16 +03:00
Ivan Kylchik
def47bdd9d
[FIR] Add new equalityOperatorCall node in control flow graph
2020-07-21 13:54:15 +03:00
Ivan Kylchik
d23e9940ec
[FIR] Change fir builder to use newly created nodes
2020-07-21 13:54:15 +03:00
Ivan Kylchik
708c8b8ef3
[FIR] Create additional nodes to replace operator call in some places
...
1. FirAssignmentOperatorStatement - represent assignment operations
such as =, +=, -=, /=, %=
2. FirEqualityOperatorCall - represent boolean operations such as ==,
!=, ===, !==
#KT-38333 In Progress
2020-07-21 13:54:14 +03:00
Roman Artemev
8c4930da2e
[KLIB] Drop API which is no longer used
2020-07-21 13:15:35 +03:00
Roman Artemev
bb20e4759b
[KLIB] Use queue to track classes required fake override resolve
...
- Avoid module visiting to prevent lazy bodies loading
2020-07-21 13:15:35 +03:00
vladislavf7@gmail.com
2b0639d4ad
[FIR] Cleanup and refactoring for checkers
2020-07-21 12:13:10 +03:00
vladislavf7@gmail.com
fb946a6a3f
[FIR] Move extended checkers list
2020-07-21 12:13:10 +03:00
vladislavf7@gmail.com
751ed60e42
[FIR] Fix redundant visibility modifier checker
2020-07-21 12:13:10 +03:00
vladislavf7@gmail.com
a8ff5d17dc
[FIR] Fix redundant modality modifier checker
...
Fixed function FirDeclaration.hasBody() and some others improvement
2020-07-21 12:13:10 +03:00
vladislavf7@gmail.com
a988234bbf
[FIR] Fix redundant explicit type checker
2020-07-21 12:13:09 +03:00
Pavel Punegov
eecb43d4c9
Ignore test in Native backend
2020-07-21 11:26:57 +03:00
Elena Lepilkina
06fa8d5e48
Added codegen test for local escape analysis
2020-07-21 08:38:25 +03:00
Ilya Gorbunov
bace1b8055
Increase stdlib-js mocha test timeouts to 10s
...
Some tests often do not fit into the default timeout when running tests
in parallel on CI.
2020-07-21 05:43:38 +03:00
Vasily Levchenko
d0b4fa6a9c
[kotlin compiler][build][update] 1.4.20-dev-2167
2020-07-21 04:28:33 +02:00
Georgy Bronnikov
4739209850
IR: adapt to introduction of IrSimpleFunction.isInfix
...
(cherry picked from commit 4fe73234d810150fd2ebce2fd6963e99e597e37d)
2020-07-21 04:28:33 +02:00
Abduqodiri Qurbonzoda
baa8354f37
Replace @LowPriorityInOverloadResolution with @DeprecatedSinceKotlin #KT-37101
...
(cherry picked from commit 76372cf4aaafde771cc8e7a901a1f1dc771c3650)
2020-07-21 04:28:33 +02:00
Ilya Gorbunov
2002146152
Synchronize common builtin annotation changes to K/N
...
- DeprecatedSinceKotlin
- TYPE_PARAMETER target for Suppress
(cherry picked from commit 6b4aabe0f7a67362068c80ea0d3cf4a45850104a)
2020-07-21 04:28:33 +02:00
Abduqodiri Qurbonzoda
b054a40b0f
Advance buildKotlinVersion to 1.4.20-dev-2133
...
(cherry picked from commit 5f4da7c1b2812e2805283f63581d376240d4c9d3)
2020-07-21 04:28:33 +02:00
Vasily Levchenko
7542e3289d
[kotlin compiler][update] 1.4.20-dev-2426
...
* e5e50eabe9 - (tag: build-1.4.20-dev-2426) Update testdata after 41a0cfe002 (vor 5 Stunden) <Mikhail Zarechenskiy>
* b351556b1f - (tag: build-1.4.20-dev-2425) Fix testJarsWithDependenciesWithinClasses() compilation after unsuccessful cherry-pick (vor 12 Stunden) <Yan Zhulanow>
* 64aaeb52f5 - (tag: build-1.4.20-dev-2420) Add change notes for 1.4-M1,2,3,RC builds #KT-40311 Fixed (vor 24 Stunden) <Anton Yalyshev>
* a4a398239b - (tag: build-1.4.20-dev-2414) Fallback to fileEntry provided by irFile (vor 2 Tagen) <Jim Sproch>
* c901e82a55 - (tag: build-1.4.20-dev-2413) IR: add IrSimpleFunction.isInfix (vor 2 Tagen) <Georgy Bronnikov>
* 8e4bc06b3c - (tag: build-1.4.20-dev-2408) Create a valid jar in KaptIncrementalWithIsolatingApt test (vor 3 Tagen) <Ivan Gavrilovic>
* 77ba9a1bbb - KT-34604: Fix race condition in KAPT (vor 3 Tagen) <Ivan Gavrilovic>
* 111a2ece72 - KAPT: Fix error reporting (vor 3 Tagen) <Ivan Gavrilovic>
* 11251a93ac - KAPT: Fix serialization of class structure data (vor 3 Tagen) <Ivan Gavrilovic>
* ccbb2eaba9 - (tag: build-1.4.20-dev-2406) Make linker visible to compiler plugins (vor 3 Tagen) <Jim Sproch>
* 80e4e7939d - (tag: build-1.4.20-dev-2404) "Create abstract function" quick fix: don't suggest it if super classes are not writable (vor 3 Tagen) <Toshiaki Kameyama>
* 0c832e30bf - (tag: build-1.4.20-dev-2400) (CoroutineDebugger) Memory leak fixed on IDEA quit: 'org.jetbrains.kotlin.idea.debugger.coroutine.view.XCoroutineView (vor 3 Tagen) <Vladimir Ilmov>
* 6de848a15c - (tag: build-1.4.20-dev-2399) [Commonizer] Introduce success marker file in Gradle task (vor 3 Tagen) <Dmitriy Dolovov>
* 178b5db8de - [Commonizer] More precise up-to-date checks in Gradle task (vor 3 Tagen) <Dmitriy Dolovov>
* d3f9f4f3e8 - (tag: build-1.4.20-dev-2397) Fix stdlib-by-default failures when configuration has been resolved (vor 3 Tagen) <Sergey Igushkin>
* dccac34282 - (tag: build-1.4.20-dev-2390) J2K: do not run runUndoTransparentAction outside EDT (vor 3 Tagen) <Ilya Kirillov>
* d16f246375 - Wizard: do not add stdlib for gradle based projects (vor 3 Tagen) <Ilya Kirillov>
* d2113766e1 - Wizard: do not add NPM dependencies for Kotlin/JS wrappers (vor 3 Tagen) <Ilya Kirillov>
* 9f5dd59d75 - Wizard: do not add test task for JS when no test framework is chosen (vor 3 Tagen) <Ilya Kirillov>
* 0208fad057 - Wizard: do not allow to choose Frontend Application template & JS Library at the same time (vor 3 Tagen) <Ilya Kirillov>
* fdc06b2c1c - Wizard: fix Android SDK path on Windows (vor 3 Tagen) <Ilya Kirillov>
* a153e7fe30 - (tag: build-1.4.20-dev-2382) Changes after review (vor 3 Tagen) <Pavel Kirpichenkov>
* 10bd3a11b8 - (tag: build-1.4.20-dev-2378) Improve message about compatibility warning a bit (vor 3 Tagen) <Mikhail Zarechenskiy>
* fcf7a55ccc - Fix delegated property resolve on number literals and proper types (vor 3 Tagen) <Mikhail Zarechenskiy>
* e5bca3ce29 - (tag: build-1.4.20-dev-2376) Enable execution of muted on database tests marked as FLAKY (KTI-288) (vor 3 Tagen) <Yunir Salimzyanov>
* 27e7116f60 - (tag: build-1.4.20-dev-2375) Added the gradle plugin SNAPSHOT version support for some tests. (vor 3 Tagen) <Alexander Dudinsky>
* 80022cccd9 - (tag: build-1.4.20-dev-2374, tag: build-1.4.20-dev-2372) [FIR] Introduce & use processOverriddenPropertiesWithDepth (vor 3 Tagen) <Mikhail Glukhikh>
* 13ef97e51e - (tag: build-1.4.20-dev-2371) FIR2IR: set proper visibility of backing fields with @JvmField (vor 3 Tagen) <Jinseong Jeon>
* f3475fd098 - (tag: build-1.4.20-dev-2366, tag: build-1.4.20-dev-2358, tag: build-1.4.20-dev-2355) FIR2IR: store and convert annotations on enum entry (vor 3 Tagen) <Jinseong Jeon>
* a1ffc0b25a - (tag: build-1.4.20-dev-2349) Handle standalone gradle scripts before (build|settnings|init).gradle.kts (vor 3 Tagen) <Vladimir Dolzhenko>
* a6e58edfb9 - (tag: build-1.4.20-dev-2348) Update test data, unmute test (vor 3 Tagen) <Mikhail Zarechenskiy>
* a05681001f - (tag: build-1.4.20-dev-2346) Mark with @DeprecatedSinceKotlin #KT-22423 and #KT-28753 (vor 3 Tagen) <Abduqodiri Qurbonzoda>
* 87cb6372a0 - (tag: build-1.4.20-dev-2342) Specify DeprecatedSinceKotlin for recently deprecated min/max funs (vor 4 Tagen) <Ilya Gorbunov>
* a9f4479557 - Add stdlib-gen DSL support for DeprecatedSinceKotlin annotation (vor 4 Tagen) <Ilya Gorbunov>
* 5eb0242941 - (tag: build-1.4.20-dev-2338) Add missed application component PluginStartupComponent for AS40 (vor 4 Tagen) <Vladimir Dolzhenko>
* fa1e3169df - (tag: build-1.4.20-dev-2329) Update dukat dependency to 0.5.7 (vor 4 Tagen) <Shagen Ogandzhanian>
* 026a6ffab2 - FirUpperBoundViolatedChecker: code cleanup (vor 4 Tagen) <Mikhail Glukhikh>
* 1ea5678932 - [FIR] UPPER_BOUND_VIOLATED optimizations (vor 4 Tagen) <Nick>
* 41a0cfe002 - [FIR] Add diagnostic UPPER_BOUND_VIOLATED (vor 4 Tagen) <Nick>
* b9a220c624 - (tag: build-1.4.20-dev-2323) AddSuspendModifierFix: suggest in inline lambda (vor 4 Tagen) <Toshiaki Kameyama>
* 982f429d6b - (tag: build-1.4.20-dev-2318) Moved the IdeaDefaultIdeTargetPlatformKindProvider declaration from jps.xml back to jvm-common.xml (vor 4 Tagen) <Vyacheslav Karpukhin>
* 3c4f0d3c9e - (tag: build-1.4.20-dev-2314) [box-tests] Added test (vor 4 Tagen) <Igor Chevdar>
* 8bbbee8ffd - [IR] Supported IrFunctionExpression in ClosureAnnotator (vor 4 Tagen) <Igor Chevdar>
* c9fdef8233 - (tag: build-1.4.20-dev-2312) IR: use buildField where possible (vor 4 Tagen) <Alexander Udalov>
* 2d723f1c51 - IR: use buildClass where possible (vor 4 Tagen) <Alexander Udalov>
* 5b1193407a - IR: use buildConstructor where possible (vor 4 Tagen) <Alexander Udalov>
* 6aa09f61d4 - IR: use buildFun where possible (vor 4 Tagen) <Alexander Udalov>
* 39e38c7049 - IR: introduce buildVariable, use where possible (vor 4 Tagen) <Alexander Udalov>
* c3560e5854 - IR: use buildTypeParameter, minor cleanup (vor 4 Tagen) <Alexander Udalov>
* 4b5464c6cc - IR: introduce buildReceiverParameter, use where possible (vor 4 Tagen) <Alexander Udalov>
* b36a6114aa - IR: use buildValueParameter where possible (vor 4 Tagen) <Alexander Udalov>
* 378d0a757a - (tag: build-1.4.20-dev-2310) DebuggerClassNameProvider refactoring (vor 4 Tagen) <Vladimir Ilmov>
* f6a16c5203 - (tag: build-1.4.20-dev-2303) Move some tests from common `mute database` to platforms specific (vor 4 Tagen) <Alexander Dudinsky>
* e754585e38 - (tag: build-1.4.20-dev-2302) NI: add fallback strategy to get lexical scope to checking coroutine call legality (vor 4 Tagen) <Victor Petukhov>
* 5951e7500a - Register KOTLIN_BUNDLED via application component in 193 (vor 4 Tagen) <Vladimir Dolzhenko>
* 345528d8f5 - Use public api to register KOTLIN_BUNDLED macros (vor 4 Tagen) <Vladimir Dolzhenko>
* ab2128f55d - (tag: build-1.4.20-dev-2301) [FIR] extended checkers infrastructure refactoring (vor 4 Tagen) <vladislavf7@gmail.com >
* 38543ce2a3 - [FIR] add way to configure session in Diagnostic Tests (vor 4 Tagen) <vladislavf7@gmail.com >
* 609f0ca9bc - (tag: build-1.4.20-dev-2296) [JS IR] .d.ts generation for module systems (vor 4 Tagen) <Svyatoslav Kuzmich>
* ee23e39b3c - (tag: build-1.4.20-dev-2294) KT-37720 replace FileSystemLocation with File for TransformAction (vor 4 Tagen) <nataliya.valtman>
* 63ba883a77 - (tag: build-1.4.20-dev-2290) Refactoring of muteWithDatabase (vor 4 Tagen) <Yunir Salimzyanov>
* fb9b3f96de - KT-40301 Add more diagnostics for 'Module is not contained in resolver' (vor 4 Tagen) <Roman Golyshev>
* 8fd16f4a39 - Add contract to `checkWithAttachment` (vor 4 Tagen) <Roman Golyshev>
* 1ac9b4c38f - Add dependency scopes option for scripting resolvers (vor 6 Tagen) <Ilya Muradyan>
| * 628efcb189 - Build: Add kotlin.build.dependencies.iu.enabled property (vor 4 Tagen) <Vyacheslav Gerasimov>
| * 996e529944 - Build: Allow intellijUltimateEnabled without kotlin-ultimate directory (vor 4 Tagen) <Vyacheslav Gerasimov>
| * 34c1316ae0 - Build: Enable local build cache with `org.gradle.caching=true` (vor 4 Tagen) <Vyacheslav Gerasimov>
| * 2e7cb2b829 - Build: Enable parallel builds with `org.gradle.parallel=true` (vor 4 Tagen) <Vyacheslav Gerasimov>
| * 50f1f8f0eb - FIR: consider more functional types during SAM resolution (vor 4 Tagen) <Jinseong Jeon>
| * d66c6c7e1e - FIR serializer: transform KSuspendFunction types too (vor 4 Tagen) <Jinseong Jeon>
| * 85e822e283 - (tag: build-1.4.20-dev-2283) [FIR] Support smartcast after reference equality check (vor 4 Tagen) <Ivan Kylchik>
| * 63f7e95c89 - (tag: build-1.4.20-dev-2281) [FIR] Add RedundantExplicitTypeChecker (vor 4 Tagen) <vladislavf7@gmail.com >
| * 3c798502c8 - (tag: build-1.4.20-dev-2274) Synchronize muted TeamCity tests with database for .bunch configurations (vor 4 Tagen) <Yunir Salimzyanov>
| * c7a37eb6b2 - (tag: build-1.4.20-dev-2270) FIR deserializer: load annotations on extension receiver parameters (vor 4 Tagen) <Jinseong Jeon>
| * 02f08b16d6 - (tag: build-1.4.20-dev-2269) [Commonizer] Ignore CallableDescriptor.hasSynthesizedParameterNames attribute (vor 4 Tagen) <Dmitriy Dolovov>
| * 100a6f70ca - (tag: build-1.4.20-dev-2266) Relax rules about inferring to Nothing for special calls (vor 4 Tagen) <Mikhail Zarechenskiy>
| * e45cd02b01 - (tag: build-1.4.20-dev-2258, tag: build-1.4.20-dev-2250, tag: build-1.4.20-dev-2246) KLIB: add EmptyPackageFragment's to fix ModuleDescritor.getSubPackagesOf (vor 5 Tagen) <Anton Bannykh>
| * d2c9fc41f1 - (tag: build-1.4.20-dev-2244) Replace @LowPriorityInOverloadResolution with @DeprecatedSinceKotlin #KT-37101 (vor 5 Tagen) <Abduqodiri Qurbonzoda>
| * 4ac1b7748a - Advance bootstrap to 1.4.20-dev-2133 (vor 5 Tagen) <Abduqodiri Qurbonzoda>
| * cd9f59325e - (tag: build-1.4.20-dev-2238) [KLIB] Fix deserialization of anonymous classes (vor 5 Tagen) <Roman Artemev>
| * d31de6c8de - [Psi2IR] Improve assertion message (vor 5 Tagen) <Roman Artemev>
| * d89083cd8c - (tag: build-1.4.20-dev-2232) Fixup the tests vs master-gradle-plugin (vor 5 Tagen) <Alexander Dudinsky>
| * 005314ce06 - Support running import tests on bootstrap version of gradle plugin (vor 5 Tagen) <Andrey Uskov>
| * b0c96a61ec - (tag: build-1.4.20-dev-2230) Don't try to infer postponed variables on lambdas without `BuilderInference` annotation ^KT-39618 Fixed (vor 5 Tagen) <Victor Petukhov>
| * 9e737156dd - (tag: build-1.4.20-dev-2229) KT-37720 Replace ArtifactTransform with TransformAction (vor 5 Tagen) <nataliya.valtman>
| * b9585dabd4 - (tag: build-1.4.20-dev-2223) KT-32368 Rework Inline hints settings // fix QuickFixTestGenerated$AutoImports.testKt17525 (vor 5 Tagen) <Andrei Klunnyi>
| * 1639cadbb7 - (tag: build-1.4.20-dev-2220) KT-32368 Rework Inline hints settings // remove non-existent ReturnHintLinePainter (vor 5 Tagen) <Andrei Klunnyi>
| * 30b91b128a - (tag: build-1.4.20-dev-2219) FIR: adjust type of integer operator call as property initializer (vor 5 Tagen) <Jinseong Jeon>
| * ddd26de139 - (tag: build-1.4.20-dev-2218) FirTypeIntersectionScope: extract 'createIntersectionOverride' (vor 5 Tagen) <Mikhail Glukhikh>
| * 9934f7d56e - [FIR TEST] Add test for KT-40327 (vor 5 Tagen) <Mikhail Glukhikh>
| * 92d40c27e2 - FirBasedSignatureComposer: build signature even for private classes (vor 5 Tagen) <Mikhail Glukhikh>
| * 07b0ffef84 - [FIR] Introduce & use remapArgumentsWithVararg (vor 5 Tagen) <Mikhail Glukhikh>
| * 5c4f978073 - FIR: transform arrayOf call with empty arguments (vor 5 Tagen) <Jinseong Jeon>
| * db9d42c153 - IrConstTransformer: handle vararg with spread elements properly (vor 5 Tagen) <Jinseong Jeon>
| * 5600eefea5 - FIR: add support for varargs in annotation calls (vor 5 Tagen) <Jinseong Jeon>
| * 4e6bd33eca - FIR: create argument mapping for annotation call in general (vor 5 Tagen) <Jinseong Jeon>
| * 1a861b2df9 - FIR2IR: don't create synthetic class for enum entry w/o members (vor 5 Tagen) <Jinseong Jeon>
| * 2ea3579281 - [FIR] add support for generic cases of delegation by implementation (vor 5 Tagen) <Juan Chen>
| * 93632d2a18 - FIR declaration transformer: unwrap synthetic property accessor properly (vor 5 Tagen) <Mikhail Glukhikh>
| * 031f03a903 - Introduce FirDeclarationOrigin.INTERSECTION_OVERRIDE (vor 5 Tagen) <Mikhail Glukhikh>
| * 9107944b05 - FirSyntheticProperty: take returnTypeRef directly from delegate (vor 5 Tagen) <Mikhail Glukhikh>
| * e2678149cb - FirClassSubstitutionScope: fix overridden symbols traversing (vor 5 Tagen) <Mikhail Glukhikh>
| * 10a1d5c03b - FirTypeIntersectionScope: add intersection overrides caching (vor 5 Tagen) <Mikhail Glukhikh>
| * c1d223dbde - FirTypeIntersectionScope: enhance support of inherited default parameters (vor 5 Tagen) <Mikhail Glukhikh>
| * c46fac3464 - FirTypeIntersectionScope: support inherited default parameters (vor 5 Tagen) <Mikhail Glukhikh>
| * 7a2ea49399 - FirTypeIntersectionScope: introduce "intersection" fake overrides (vor 5 Tagen) <Mikhail Glukhikh>
| * 5a422b5ef6 - FirTypeIntersectionScope: optimize/cleanup processOverriddenFunctions (vor 5 Tagen) <Mikhail Glukhikh>
| * 1bbed6c4ed - [FIR2IR] Use FIR-specific methods to search for overridden functions (vor 5 Tagen) <Mikhail Glukhikh>
| * 59cc9d4bc6 - [FIR] Introduce FirTypeScope.processOverriddenFunctionWithDepth (vor 5 Tagen) <Mikhail Glukhikh>
| * 8a29021aad - [FIR2IR] Make data class synthetic members public API (vor 5 Tagen) <Mikhail Glukhikh>
| * 521901f09a - [FIR2IR] Cache type parameters for existing IR classes properly (vor 5 Tagen) <Mikhail Glukhikh>
| * d2f5fbdd08 - (tag: build-1.4.20-dev-2217) Fix failing on AS test with inserting `-Xinline-classes` to build script (vor 5 Tagen) <Victor Petukhov>
| * c8b3e622f1 - (tag: build-1.4.20-dev-2209) Fix typo in field name (vor 5 Tagen) <Kirill Shmakov>
| * d96772444e - (tag: build-1.4.20-dev-2207) [FIR] Fix redundant visibility checker (vor 5 Tagen) <vladislavf7@gmail.com >
| * 9b8128aaa8 - (tag: build-1.4.20-dev-2201) Coerce commonTest to common in HMPP (vor 5 Tagen) <Dmitry Savvinov>
|/
* 742b98bed6 - (tag: build-1.4.20-dev-2193) Build: Fix stdlib-js-ir commonMainSources task dependency on version (vor 6 Tagen) <Vyacheslav Gerasimov>
* fb5fb44993 - (tag: build-1.4.20-dev-2192) [FIR] Add RedundantModalityModifierChecker (vor 6 Tagen) <vladislavf7@gmail.com >
* e7c88a4349 - (tag: build-1.4.20-dev-2186) Build: Add KotlinVersionCurrentValue to runtime classpath normalization (vor 6 Tagen) <Vyacheslav Gerasimov>
* e215d94b7b - Build: Fix JavaExec task configuration (vor 6 Tagen) <Vyacheslav Gerasimov>
* bf23b39d76 - (tag: build-1.4.20-dev-2185) Add using `-Xinline-classes` by default in IDE intentions ^KT-34209 Fixed (vor 6 Tagen) <Victor Petukhov>
* 79d7babb57 - (tag: build-1.4.20-dev-2180) Add test checking file annotations resolution (vor 6 Tagen) <Pavel Kirpichenkov>
* 36a46482c5 - (tag: build-1.4.20-dev-2179) Unmute IdeReplCompletionTestGenerated.testDefinedExtension in 202 (vor 6 Tagen) <Nikolay Krasko>
* 5954fe528b - (tag: build-1.4.20-dev-2176) gradle.kts: do not return ErrorScriptDefinition into GradleBuildRootManager (vor 6 Tagen) <Natalia Selezneva>
* 3e3f8aeb93 - Mark importing as complete in case of some unexpected behavior (vor 6 Tagen) <Natalia Selezneva>
* 2c67ab924f - (tag: build-1.4.20-dev-2171) [Gradle, JS] this globalObject in webpack (vor 6 Tagen) <Ilya Goncharov>
* 93a82060d4 - (tag: build-1.4.20-dev-2167) KT-39788 MPP, Gradle runner: Run does not add resource directory to classpath // gradle runner support (vor 6 Tagen) <Andrei Klunnyi>
* 681c2e9492 - KT-39788 MPP, Gradle runner: Run does not add resource directory to classpath // classpath fix (vor 6 Tagen) <Andrei Klunnyi>
* 07b566dd02 - Add @JvmDefault for getPossibleSyntheticNestedClassNames (vor 6 Tagen) <Ilya Muradyan>
* 340512e27a - [KJS] Throw exception on recursive types provided to typeOf and provide proper support later within KT-40173 (vor 6 Tagen) <Zalim Bashorov>
* c552933459 - [Test infra] Take into account transitive compatible targets while checking compatibility. (vor 6 Tagen) <Zalim Bashorov>
* ca37c6bfe6 - [KJS FE] Allow using typeOf with non-reified type parameters (vor 6 Tagen) <Zalim Bashorov>
* 9d362875da - [Gradle, JS] Fail build in case when mpp or js targets not configured (vor 6 Tagen) <Ilya Goncharov>
* 62aed1b53a - Add `kotlin.stdlib.default.dependency=false` to avoid stdlib default dep (vor 6 Tagen) <Sergey Igushkin>
* ad9d011ed0 - Fix stdlib default dependencies with Android (vor 6 Tagen) <Sergey Igushkin>
* d83d3304a5 - KT-38221: Stdlib by default; KT-40225 Single dependency on kotlin-test (vor 6 Tagen) <Sergey Igushkin>
* 49c8d99f61 - (tag: build-1.4.20-dev-2162) [Gradle, JS] Resolution of compilation's configurations inside NPM conf (vor 6 Tagen) <Ilya Goncharov>
* 40311dbe05 - [Gradle, JS] Fix test on public package json with dependencies (vor 6 Tagen) <Ilya Goncharov>
* c5f89ebc0d - [Gradle, JS] Add dev dependencies into public package json (vor 6 Tagen) <Ilya Goncharov>
* bb23556ead - (tag: build-1.4.20-dev-2159) Don't perform `Unit`-conversion for functional types with type variables (vor 6 Tagen) <Mikhail Zarechenskiy>
* 09b44b3189 - Fix rewrite at slice exception for callable references inside `flatMap` (vor 6 Tagen) <Mikhail Zarechenskiy>
* 1e4c554bcd - KT-32368 Rework Inline hints settings // compatibility with earlier IDEA versions (vor 6 Tagen) <Andrei Klunnyi>
* 604e270a73 - KT-32368 Rework Inline hints settings // preview text (vor 6 Tagen) <Andrei Klunnyi>
* 7a69cf587e - KT-32368 Rework Inline hints settings // HintType cleanup (vor 6 Tagen) <Andrei Klunnyi>
* d6692a8062 - KT-32368 Rework Inline hints settings // flattern parameter name hints menu (vor 6 Tagen) <Andrei Klunnyi>
* be0cde1d70 - KT-32368 Rework Inline hints settings // remove suspending call hints (vor 6 Tagen) <Andrei Klunnyi>
* 49d4f55c87 - KT-32368 Rework Inline hints settings // special case for lambda hints (vor 6 Tagen) <Andrei Klunnyi>
* d1722e3975 - KT-32368 Rework Inline hints settings // migrate tests for types (vor 6 Tagen) <Andrei Klunnyi>
* 36f3431559 - KT-32368 Rework Inline hints settings // migrate tests for suspending calls (vor 6 Tagen) <Andrei Klunnyi>
* b0dece756a - KT-32368 Rework Inline hints settings // migrate tests for lambdas (vor 6 Tagen) <Andrei Klunnyi>
* 5fe1eaea17 - KT-32368 Rework Inline hints settings // remove outdated KotlinCodeHintsPass (vor 6 Tagen) <Andrei Klunnyi>
* 533507de25 - KT-32368 Rework Inline hints settings // split KotlinInlayParameterHintsProvider (vor 6 Tagen) <Andrei Klunnyi>
* 5ec93fd74c - (tag: build-1.4.20-dev-2154) Fixup for the fix of KT-39809 (vor 6 Tagen) <Sergey Igushkin>
* 4c273e1fc5 - Fix resolving dependency on self in HMPP (KT-39037) (vor 6 Tagen) <Sergey Igushkin>
* aebca19fd7 - Fix resolving an MPP dependency in custom configurations (KT-32239) (vor 6 Tagen) <Sergey Igushkin>
* 8158ba2be3 - (tag: build-1.4.20-dev-2152) Add tests for obsolete issues (vor 6 Tagen) <Mikhail Zarechenskiy>
* 19dc3f071c - (tag: build-1.4.20-dev-2150) Gradle, native: Enable assertions for in process compiler execution (vor 6 Tagen) <Ilya Matveev>
* 275ce16faa - (tag: build-1.4.20-dev-2144) [FIR] add RedundantReturnUnitTypeChecker (vor 6 Tagen) <vladislavf7@gmail.com >
* 5c88b1e80a - (tag: build-1.4.20-dev-2138) Allow depending on Native stdlib even if platforms do not match under HMPP (vor 6 Tagen) <Dmitry Savvinov>
* 21026001db - Add logging into ideaModelDependencies (vor 6 Tagen) <Dmitry Savvinov>
* 010e530ac4 - (tag: build-1.4.20-dev-2133) Make common KClass extend common KClassifier (vor 7 Tagen) <Ilya Gorbunov>
* 1878ae8222 - (tag: build-1.4.20-dev-2129) Don't apply copyright notice to Kotlin Ultimate (vor 7 Tagen) <Florian Kistner>
* ce39b75cc8 - (tag: build-1.4.20-dev-2128) Don't apply copyright notice to Kotlin Ultimate (vor 7 Tagen) <Florian Kistner>
* bbb3032e1c - (tag: build-1.4.20-dev-2125) [Gradle, JS] Rename package-candidate.json to pre-package.json (vor 7 Tagen) <Ilya Goncharov>
* 6a0315fe7a - [Gradle, JS] force write package json in all cases (vor 7 Tagen) <Ilya Goncharov>
* b4a774e821 - [Gradle, JS] Use package.json candidate (vor 7 Tagen) <Ilya Goncharov>
* 8586d5e206 - [Gradle, JS] Small refactoring of yarn imported (vor 7 Tagen) <Ilya Goncharov>
* cfd91023be - Add native targets check to "isAllowCommonizer" method. (vor 7 Tagen) <Konstantin Tskhovrebov>
* 797449f7e4 - (tag: build-1.4.20-dev-2124) [Gradle, JS] Add TC client on TC output handler for browser run task (vor 7 Tagen) <Ilya Goncharov>
* 943d012875 - (tag: build-1.4.20-dev-2115) Fix comparison for SdkAndMockLibraryProjectDescriptor (vor 7 Tagen) <Nikolay Krasko>
* 0db7806dec - Use test classpath for annotations.jar search (vor 7 Tagen) <Nikolay Krasko>
* 07e3dd9ec7 - (tag: build-1.4.20-dev-2107) [Gradle, Cocoapods] Fixed bug in `scheme` name for pods (vor 7 Tagen) <Yaroslav Chernyshev>
* 67e58ff152 - (tag: build-1.4.20-dev-2106) [FIR] Fix redundant calls to firEffectiveVisibility() (vor 7 Tagen) <Nick>
* 5340cf5567 - (tag: build-1.4.20-dev-2101) Add property kotlin.build.useIR to enable JVM IR in Kotlin build (vor 7 Tagen) <Alexander Udalov>
* 9c36c74357 - Build: do not pass JVM compiler arguments to common KotlinCompile (vor 7 Tagen) <Alexander Udalov>
* 8d79a6ae03 - (tag: build-1.4.20-dev-2098, tag: build-1.4.20-dev-2090) [JVM IR] Copy inline class constructor annotations (vor 7 Tagen) <Kristoffer Andersen>
* 678b76cab1 - (tag: build-1.4.20-dev-2089) Fix presence of `Deprecated` hidden annotation for reference arguments (vor 7 Tagen) <Mikhail Zarechenskiy>
* c2e0cd60d7 - (tag: build-1.4.20-dev-2085) Gradle tests: Temporary disable NativePlatformLibsIT for Windows (vor 7 Tagen) <Ilya Matveev>
* 3ef760604b - (tag: build-1.4.20-dev-2080) Force expansion to have the same nullability as abbreviation (vor 7 Tagen) <Dmitry Savvinov>
* 8890ae10d4 - Add test on signatures with nullable abbreviated types (vor 7 Tagen) <Dmitry Savvinov>
2020-07-21 04:28:33 +02:00
Steven Schäfer
d62a6a2631
JVM IR: Do not create accessors for enum entry constructors
2020-07-20 22:37:49 +02:00
Alexander Udalov
71730696b2
JVM IR: rename JvmDeclarationFactory -> JvmCachedDeclarations
2020-07-20 22:26:11 +02:00
Alexander Udalov
c7f9dc1c40
IR: rename DeclarationFactory to InnerClassesSupport, move out of context
...
Methods of the common interface DeclarationFactory were only used in
lowerings in InnerClassesLowering, which were used in JVM and JS, not
Native. Therefore, it makes sense to have this as a separate interface
and pass its implementation to these lowerings directly, instead of
declaring it in the common context (which is not going to be implemented
in Native).
2020-07-20 22:26:11 +02:00
Alexander Udalov
cf884fb048
IR: remove JVM-specific methods from DeclarationFactory
2020-07-20 22:26:11 +02:00
Alexander Udalov
6907decd99
Report file name on exception from ASM in BinaryJavaClass
...
This is useful to diagnose cases like KT-40339
2020-07-20 22:25:55 +02:00
Matthew Gharrity
221d49a995
Set wantsDiagnostics() in AbstractFilteringTrace
...
report() already delegates to the parentTrace, so
wantsDiagnostics() should delegate to it as well.
2020-07-20 21:12:25 +03:00
Dmitry Petrov
2e31f95554
Update testData
2020-07-20 20:04:32 +03:00
Dmitry Petrov
2b9606becf
JVM_IR: field for suspend main parameter is synthetic
2020-07-20 20:04:31 +03:00
Dmitry Petrov
7be9b18ff4
JVM: field for suspend main parameter is synthetic
2020-07-20 20:04:31 +03:00
Dmitry Petrov
6bc44a366a
JVM_IR: fields for suspend lambda parameters are synthetic
2020-07-20 20:04:31 +03:00
Dmitry Petrov
bae6037f00
JVM: fields for suspend lambda parameters are synthetic
2020-07-20 20:04:31 +03:00
Dmitry Petrov
fa75518bd7
JVM_IR: don't skip nullability annotations on private fields
...
Unfortunately, some annotation processors rely on those annotations.
2020-07-20 20:04:31 +03:00
Dmitry Petrov
d30c67db14
JVM: don't skip nullability annotations on private fields
...
Unfortunately, some annotation processors rely on those annotations.
2020-07-20 20:04:30 +03:00
Victor Petukhov
b0ac046b05
NI: decrease fixation priority for variables which have only incorporated from upper bound constraints
...
^KT-40045 Fixed
^KT-39633 Fixed
2020-07-20 19:20:18 +03:00
Pavel Punegov
12665825b9
Add IOS_ARM32 swift target
...
Small reformat
2020-07-20 18:50:40 +03:00
Pavel Punegov
3169e3c857
Kill idb on an exception. Otherwise in case of idb failure, it may not be able to run and install next application.
2020-07-20 18:50:40 +03:00
Ilya Goncharov
081248f859
[Gradle, JS] Extract properties provider in KotlinJsTarget
2020-07-20 17:44:12 +03:00
Ilya Goncharov
4917643583
[Gradle, JS] Check if not both compiler
2020-07-20 17:40:52 +03:00
Ilya Goncharov
61b5a738da
[Gradle, JS] Rename flag for legacy
...
^KT-40320 fixed
2020-07-20 16:51:37 +03:00
Ilya Goncharov
e776444459
[Gradle, JS] binaries executable for legacy by default
...
^KT-40320 fixed
2020-07-20 16:51:22 +03:00
Ilya Goncharov
f7beea10a5
[Gradle, JS] Common configure should be last otherwise user settings can
...
be overwrote
^KT-40320 fixed
2020-07-20 16:51:08 +03:00
Jim Sproch
814bd48148
Keep members of com.google.common dependencies intact
...
It is a workaround for KTI-298
#KT-40354 In progress
2020-07-20 15:05:16 +03:00
Dmitriy Novozhilov
236dfe60f1
[FIR] Correctly build scopes for resolve of different parts of constructors
...
#KT-40409 Fixed
2020-07-20 14:38:17 +03:00
Dmitriy Novozhilov
94ff457e43
[FIR] Handle erroneous situation with type projection in supertype
2020-07-20 14:38:17 +03:00
Dmitriy Novozhilov
c94d583e2e
[FIR] Add substitution for inner classes to supertype resolve
...
KT-38992 Fixed
2020-07-20 14:38:16 +03:00