Svyatoslav Scherbina
6979271998
Native: fix benchmarksAnalyzer build configuration
...
Likely broken by e07e92c9
2022-11-28 16:46:42 +00:00
Sergej Jaskiewicz
aa1b18b0c8
[IR] Prevent infinite recursion when rendering bound symbol references
...
Refactor the renderer, make BoundSymbolReferenceRenderer a static class
to prevent calling RenderIrElementVisitor's methods from it to avoid
infinite recursion in the future.
^KT-52677 Fixed
2022-11-28 16:43:53 +00:00
Alexander Korepanov
9fcd185141
[JS IR] Set kotlin.js.test.root.out.dir for IC tests
...
Property kotlin.js.test.root.out.dir is required for
JS IR IC tests, otherwise they can't be run from IDEA.
2022-11-28 16:13:10 +00:00
Vladimir Dolzhenko
af08e4121d
Fix fragment element types class hierarchy.
...
They must not extend `IStubFileElementType`.
#KT-55160 Fixed
2022-11-28 15:44:37 +00:00
Vladimir Dolzhenko
e751b11b5e
Add extra checks
...
#EA-721785
2022-11-28 15:20:29 +00:00
Ilya Chernikov
e4a361a4b4
K2 Scripting: disable scripts in source roots by default
...
fixes ultimate FP test
2022-11-28 15:10:55 +00:00
Pavel Kunyavskiy
09518a457a
Better unbound symbols support for dumpKotlinLike
...
If there is an unbound symbols in IrTree near backend exception,
compiler failed again during processing an error.
It led to hard-understandable error. Now at least it would show
problematic part of code, which is better for making workarounds.
^KT-55088
2022-11-28 14:22:46 +00:00
Pavel Kunyavskiy
def98f83ac
[K/N] Disable gcStats test with noop gc
2022-11-28 13:58:18 +00:00
Dmitrii Gridin
066677b598
[CODEOWNERS]: move light classes testData to Kotlin IDE team
2022-11-28 13:37:56 +00:00
Pavel Punegov
92fb41e1fc
[K/N][codeowners] Performance,tests and tools related gradle files
...
- Performance builds are separated from the main build execution and are
part of the Native infrastructure.
- Old test infrastructure contains tests that is written in gradle
build files and hence should belong to K/N team.
- New test infrastructure build gradle file is also a part of tests.
Merge-request: KT-MR-7768
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com >
2022-11-28 11:35:55 +00:00
Pavel Punegov
9e80290405
[K/N][test] Fix cache testing to use stdlib cache
...
Cache testing should use standard stdlib cache instead of building it.
The dependency is set to the stdlib cache task (part of dist build).
Merge-request: KT-MR-7830
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com >
2022-11-28 11:21:15 +00:00
Leonid Startsev
4bf6322dd7
Change signature of KmType.visitExtensions — it should return TypeExtensionVisitor, not TypeExtension.
2022-11-28 11:01:57 +00:00
Leonid Startsev
1afe0b9cd0
Change kotlinx.metadata.impl package to kotlinx.metadata.internal
...
Same with kotlinx.metadata.jvm.impl package
2022-11-28 11:01:57 +00:00
Pavel Kirpichenkov
ad0dee822e
[MPP] KT-54974 Implement TCS dependency resolver for K/N stdlib
2022-11-28 09:25:07 +00:00
Artem Daugel-Dauge
4f736524b2
KT-54969 Kotlin artifacts withPodspec DSL
2022-11-27 18:09:38 +00:00
Ilya Chernikov
4af32b8d36
K2 Scripting, IR: non-class based scripts support in IR
2022-11-26 18:01:49 +00:00
Ilya Chernikov
cc9a7480a2
K2 Scripting: add FIR2IR conversion for FirScript
2022-11-26 18:01:49 +00:00
Ilya Chernikov
47448d779c
K2 Scripting: enable script diagnostic tests for FIR
...
also add script scopes test
2022-11-26 18:01:49 +00:00
Ilya Chernikov
a3a1550933
K2 scripting: add initial scripting support to K2 frontend
2022-11-26 18:01:48 +00:00
Svyatoslav Kuzmich
7ec6608e29
[Wasm] Add Promise and support tests that return Promise
...
Co-authored-by: Ilya Gorbunov <Ilya.Gorbunov@jetbrains.com >
Merge-request: KT-MR-7717
Merged-by: Svyatoslav Kuzmich <svyatoslav.kuzmich@jetbrains.com >
2022-11-25 20:56:47 +00:00
Evgeniy.Zhelenskiy
002f6bd34a
[FIR] Fix JvmName annotation diagnostics
...
Signed-off-by: Evgeniy.Zhelenskiy <Evgeniy.Zhelenskiy@jetbrains.com >
#KT-55143
2022-11-25 16:30:22 +01:00
Dmitrii Gridin
cb8cc65fb8
[AA Fe10] update testData
...
org.jetbrains.kotlin.analysis.api.fe10.test.cases.generated.cases.symbols.Fe10IdeNormalAnalysisSourceModuleSymbolByFqNameTestGenerated.testKclass
2022-11-25 15:33:58 +01:00
Zalim Bashorov
70a3d43adf
[Wasm] Update Binaryen version in gradle plugin: 110 -> 111
2022-11-25 15:32:32 +01:00
Zalim Bashorov
fe1157c873
[Wasm] Add to TODO the hash of the commit to revert
2022-11-25 15:32:32 +01:00
Zalim Bashorov
7f8f7aa050
[Wasm] Revert ref cast and test instructions to be compatible with Binaryen
2022-11-25 15:31:48 +01:00
Zalim Bashorov
5f140dac21
[Wasm] Remove wasm_ref_cast and use wasm_ref_cast_null inside the compiler
2022-11-25 15:31:47 +01:00
Zalim Bashorov
e7d0e451e7
[Wasm] Fix immediate type for recently (in M6) introduced instructions
...
STRUCT_TYPE_IDX -> HEAP_TYPE
WasmImmediate.TypeIdx -> WasmImmediate.HeapType
2022-11-25 15:31:47 +01:00
Anna Kozlova
abb45a0728
[AA] don't treat incomplete function as anonymous
...
^KTIJ-23672
sync anonymous function predicate with RawFirBuilder/DeclarationsConverter
2022-11-25 14:27:03 +00:00
Ilya Gorbunov
7dd907342e
Document the nature of natural order KT-54168
2022-11-25 14:09:10 +00:00
Ilya Gorbunov
0d0cc9250b
Note about all() result on empty collections KT-54835
2022-11-25 14:09:09 +00:00
Ilya Gorbunov
77e03bb769
Minor fixes in math docs
2022-11-25 14:09:09 +00:00
Ilya Gorbunov
b8728c18cb
Fix Optional.asSequence docs
2022-11-25 14:09:09 +00:00
Zalim Bashorov
3ac90cf0e4
[CODEOWNERS] Add missed leading slash in the paths
2022-11-25 14:54:08 +01:00
Anna Kozlova
cd0b1c2fff
[LL] do not build fir in a non-cancelable section
...
find by classId might require indices which will throw PCE when not up-to-date
which is prohibited in non-cancelable section
2022-11-25 13:28:20 +00:00
Egor Kulikov
d585f068dd
[FIR] Make anonymous initializer lazy in RawFirBuilder
...
Fourth step for KT-52615
Merge-request: KT-MR-7798
Merged-by: Egor Kulikov <Egor.Kulikov@jetbrains.com >
2022-11-25 11:41:44 +00:00
Nikolay Lunyak
a454d42e65
[FIR] KT-54587: Report the missing diagnostics
...
^KT-54587 Fixed
Merge-request: KT-MR-7791
Merged-by: Nikolay Lunyak <Nikolay.Lunyak@jetbrains.com >
2022-11-25 10:19:58 +00:00
Abduqodiri Qurbonzoda
3f95b7e031
Clarify Map.getOrElse and MutableMap.getOrPut documentation #KT-21392
2022-11-25 09:37:37 +00:00
Nikolay Lunyak
7147b7d17b
[FIR] KT-55033: Split runTransaction into smaller functions
...
^KT-55033 Fixed
Merge-request: KT-MR-7779
Merged-by: Nikolay Lunyak <Nikolay.Lunyak@jetbrains.com >
2022-11-25 09:12:15 +00:00
Alexander Likhachev
bcc0414960
[Gradle, MPP] Cover KT-55134 by tests
2022-11-25 03:24:52 +01:00
Alexander Likhachev
51aa284dd1
[Gradle, MPP] Do not read tests state file when it's absent
...
#KT-55134 Fixed
2022-11-25 03:24:50 +01:00
vladislav.grechko
50e92d2238
Add null checks in constructors taking value class types
...
^KT-53492: Fixed
2022-11-24 20:12:05 +00:00
Vladislav Grechko
cd6e865fb3
Improve support of 'lateinit' modifier
...
- Allow 'lateinit' for inline classes which underlying type
is suitable for 'lateinit'
- K2: report all problems related to 'lateinit' modifier
^KT-55052: Fixed
2022-11-24 19:47:21 +00:00
vladislav.grechko
e0c13e5276
Fix addAll & putAll invocations on inline mutable collections
...
^KT-54950: Fixed
2022-11-24 19:27:42 +00:00
Dmitrii Gridin
8fc787d6df
[AA FIR] FirCallableSignature: rename 'sameSignature' to 'hasTheSameSignature'
...
^KT-54826
2022-11-24 18:32:46 +00:00
Dmitrii Gridin
c5fb8e7ceb
[AA FIR] FirCallableSignature: avoid redundant resolve for return type
...
^KT-54826
2022-11-24 18:32:46 +00:00
Dmitrii Gridin
3bc9299b3b
[FIR] SignatureEnhancement: drop redundant 'resolvePhase' for type parameter
...
^KT-54826
2022-11-24 18:32:45 +00:00
Dmitrii Gridin
fa7fe74c5f
[AA FIR] containing declaration: drop redundant fake elements
...
it is possible after f775778efa
^KT-54826
2022-11-24 18:32:45 +00:00
Dmitrii Gridin
e684607e9d
[AA] FirCallableSignature: add test on type alias
...
^KT-54826
2022-11-24 18:32:45 +00:00
Dmitrii Gridin
dfc59d5d07
[AA FIR] support symbol pointer restore for value parameter from delegated setter
...
^KT-54051
2022-11-24 18:32:44 +00:00
Dmitrii Gridin
55ca2d608b
[AA] AbstractSymbolTest: add check for parameters
...
^KT-54826
2022-11-24 18:32:44 +00:00