Mikhail Glukhikh
07f16ef378
K2 LL API: implement automatic diagnostic suppression
2022-07-22 11:35:27 +00:00
Mikhail Glukhikh
9add6f3d55
K2: add more accurate & more automatic control of diagnostic suppression
...
#KT-51363 Fixed
2022-07-22 11:35:26 +00:00
Mikhail Glukhikh
179b267d9f
K2: add test with some samples of diagnostic suppression
2022-07-22 11:35:25 +00:00
Ilya Goncharov
4284f6b573
[Gradle, JS] make state in KotlinRootNpmResolverStateHolder public
2022-07-22 07:00:37 +00:00
Ilya Kirillov
6759263ae9
[Analysis API FIR] fix getClassOrObjectSymbol for classes actualized by typealias
2022-07-22 00:59:01 +02:00
Ilya Kirillov
10dea730b3
[Analysis API] fix invalid KtAnalysisScopeProvider. analysisScope
2022-07-22 00:59:00 +02:00
Ilya Kirillov
18b6a8b6a1
[Analysis API] make KtFunctionLikeSymbol to be sealed class
2022-07-22 00:59:00 +02:00
Ilya Kirillov
b55f36f0fd
[Analysis API] introduce some basic API to create KtSymbol by Java PSI
...
^KT-50240
2022-07-22 00:58:59 +02:00
Ilya Kirillov
e4d00eea0f
[Analysis API FE10] fix candidate creation for KtSuperTypeCallEntry
2022-07-22 00:58:59 +02:00
Ilya Kirillov
a0f0fa5a47
[Analysis API FIR] fix candidate collection for delegatedConstructor call
...
^KTIJ-20446
2022-07-22 00:58:59 +02:00
Ilya Kirillov
2c48d25c96
[Analysis API FIR] fix call candidate collection on calls without ()
2022-07-22 00:58:58 +02:00
Ilya Kirillov
e8bf8cb182
[Analysis API FIR] fix type rendering for type with "Cannot infer type for parameter" error
2022-07-22 00:58:58 +02:00
Ilya Kirillov
51cd5fb5d8
[LL FIR] reuse source sessions
2022-07-22 00:58:58 +02:00
Ilya Kirillov
a43ed57be5
[LL FIR] add basic supoport of handling not under content root modules
2022-07-22 00:58:58 +02:00
Aurimas Liutikas
7b48c892be
Move to using projectLayout
2022-07-21 22:05:07 +00:00
Aurimas
8921270f36
Make GenerateProjectStructureMetadata configuration cache compatible
...
GenerateProjectStructureMetadata was accessing project object through a lazy getter of resultFile.
Since calculating this value is not expensive, do it without it being lazy, which makes it configuration
cache compatible.
2022-07-21 22:05:07 +00:00
Vladimir Sukharev
26149be44a
KT53100: Optimization: <T-unbox>(CONSTANT_PRIMITIVE(x: T?)) => x
...
Merge-request: KT-MR-6684
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2022-07-21 21:45:03 +00:00
Ilya Goncharov
5979e6e5de
Revert "make state in KotlinRootNpmResolverStateHolder public"
...
This reverts commit 65f712ab2d .
2022-07-21 20:11:34 +02:00
aSemy
65f712ab2d
make state in KotlinRootNpmResolverStateHolder public
...
https://youtrack.jetbrains.com/issue/KT-52647
2022-07-21 19:46:15 +03:00
dependabot[bot]
494962bf95
Bump terser in /libraries/tools/kotlin-test-js-runner
...
Bumps [terser](https://github.com/terser/terser ) from 5.11.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-21 19:15:14 +03:00
Nikolay Krasko
683322e45a
Explicit restriction for maximum memory in js box tests
...
There were failures during jsCompilerTest execution on the machine
with 16GB and 8 CPU.
2022-07-21 15:47:30 +00:00
Ilya Chernikov
ceea563d63
Scripting: avoid creating multiple PSIs for every imported script
...
#KT-53009 fixed
#KT-42810 should be possible now too, but more testing is needed
#KT-42101 can also be addressed now, but first the serialization
of the imported scripts property should be solved
2022-07-21 13:53:41 +00:00
Sergej Jaskiewicz
9bc057afb2
[JS IR] Generate the correct relative paths in source maps
2022-07-21 12:18:45 +00:00
Sergej Jaskiewicz
62f957a482
[JS IR] Respect the kotlinOptions.sourceMap = false setting
...
^KT-52830 Fixed
2022-07-21 12:18:45 +00:00
Sergej Jaskiewicz
d49ca87cd2
[test] Enable Gradle integration testing for JS sourcemaps
2022-07-21 12:18:44 +00:00
Sergej Jaskiewicz
54c2839a7f
[JS] J2K for SourceMapBuilderConsumer
2022-07-21 12:18:43 +00:00
Sergej Jaskiewicz
9f5f5bcab2
Rename .java to .kt
2022-07-21 12:18:43 +00:00
Yahor Berdnikau
b28819a186
Enable signing for publication into Gradle plugin portal
...
^KT-53172 Fixed
2022-07-21 11:52:46 +02:00
Yahor Berdnikau
ef28967216
Update Gradle publish plugin to final 1.0.0 version
...
^KT-53172 In Progress
2022-07-21 11:52:31 +02:00
Ilya Goncharov
3e0b50c924
[Gradle, JS] Reporting in case when yarn.lock was changed during build
...
----
[Gradle, JS] Change naming
[Gradle, JS] storeYarnLock not finalizing kotlinNpmInstall
[Gradle, JS] Add double clean to test for check correctness without input yarn.lock
[Gradle, JS] Consider reportNewYarnLock in yarn.lock service
[Gradle, JS] actualizeYarnLock for explicit actualizing yarn.lock
[Gradle, JS] Not update yarn.lock automatically
[Gradle, JS] Add test on yarn.lock reporting
[Gradle, JS] Error report by default
[Gradle, JS] Report with failing after build, not failing task
[Gradle, JS] Report about yarn.lock mismatch reporting
Merge-request: KT-MR-6614
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com >
^KT-52950 fixed
2022-07-21 09:16:11 +00:00
Johan Bay
151448274b
[K/N] Add concurrent version of Splay benchmark
2022-07-21 07:57:27 +00:00
Sergey Bogolepov
be29052a64
[K/N] Update tests for KT-42641
2022-07-21 06:50:25 +00:00
Sergey Bogolepov
3dfb6dc622
[K/N] KT-42641
...
Remove synthetic componentN methods from Objc header
2022-07-21 06:50:24 +00:00
Vladimir Sukharev
d378d7d5f5
KT53119: Implement String Concatenation Type Narrowing to improve escape analysis
...
Merge-request: KT-MR-6661
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2022-07-20 16:28:33 +00:00
konstantin.tskhovrebov
73226aba00
[KT-53256] Setup K/N distribution downloading for KPM.
2022-07-20 15:20:33 +00:00
Dmitriy Dolovov
8adb0528d7
[Native][tests] Don't use non-default runtime assertions mode with cache
...
^KT-53032
2022-07-20 14:43:08 +00:00
Dmitriy Dolovov
d094a2dcaf
Revert "[K/N] Temporary allow caches with non-default assertions mode"
...
This reverts commit b482b0e86d .
^KT-53032
2022-07-20 14:43:07 +00:00
Alexander Likhachev
40b8e3ce4b
[Gradle] Format build report path as URI
...
#KT-34464 Fixed
2022-07-20 13:29:02 +00:00
Alexander Likhachev
783f394006
[Gradle] Remove dead code of KotlinBuildReporterHandler
2022-07-20 13:29:01 +00:00
Dmitriy Novozhilov
02901aeb10
Update kotlinc.xml
2022-07-20 10:12:26 +00:00
Dmitriy Novozhilov
0ec6c49464
[Test] Remove obsolete commented tests model of idea-android plugin tests from test generator
2022-07-20 10:12:25 +00:00
Dmitriy Novozhilov
af8caae387
[KAPT] Fix formatting
2022-07-20 10:12:25 +00:00
Dmitriy Novozhilov
8b960de76a
[KAPT] Add additional test tasks for running tests on JDK 11
2022-07-20 10:12:24 +00:00
Dmitriy Novozhilov
9c41e75802
[KAPT] Migrate kapt tests to new test infrastructure
2022-07-20 10:12:24 +00:00
Dmitriy Novozhilov
fdf1b8b1c0
[KAPT] Migrate tests in kapt3-base and kapt3-cli to JUnit 5
2022-07-20 10:12:24 +00:00
Dmitriy Novozhilov
b7cc781e97
[Test] Create KtFiles with proper virtual files
...
This is needed to properly report diagnostics in KAPT3 tests, which
uses psiElement.containingFile as origin
2022-07-20 10:12:23 +00:00
Dmitriy Novozhilov
7aaecf272b
[Test] Move configuration of JS specific flags into JsEnvironmentConfigurator
2022-07-20 10:12:23 +00:00
Dmitriy Novozhilov
c249eb9d2d
[Build] Specify lombok dependency version in versions.properties
2022-07-20 10:12:22 +00:00
Dmitriy Novozhilov
b2e558a174
[CLI] Make -Xcompiler-plugin experimental and K2 only
2022-07-20 09:07:27 +00:00
Dmitriy Novozhilov
928416c9c5
[CLI] Introduce new compiler arguments for registering compiler plugins
...
With new syntax each plugin should be registered in separate argument with syntax
`-Xcompiler-plugin=classpath1,classpath2[=argument1=value1,argument2=value2]`
2022-07-20 09:07:26 +00:00