Alexander Udalov
e4a608c6e7
Kapt: remove tests on old JVM backend
...
#KT-64680
2024-01-03 19:37:40 +00:00
Alexander Shabalin
eea89c7f23
[K/N] Enable safepoint signposts by default ^KT-62689
2024-01-03 18:30:59 +00:00
Kirill Rakhman
1018ff280e
[FIR] Fully expand the bounds of type parameters for canBeNull check
...
This is required because a not-null bound `Foo` can resolve to a
`typealias Foo = Bar?` in which case we must return true.
#KT-64645 Fixed
2024-01-03 17:15:50 +00:00
Nikita Nazarov
438b2dd164
[K2, MPP] Actualize value class representation
...
^KT-63638 fixed
2024-01-03 16:39:56 +00:00
Dmitriy Novozhilov
0bd6ea764e
[FIR] Consider only normal execution path during contracts verification
...
There might be several pathes out from the function from CFG point of view:
- normal execution path
- exceptional execution path
For verification of callsInPlace contract it's needed to check only
the normal path
^KT-63414 Fixed
2024-01-03 14:18:46 +00:00
Dmitriy Novozhilov
de9826683e
[FIR] Unwrap named arguments during contracts verification
...
^KT-64501 Fixed
2024-01-03 14:18:46 +00:00
Dmitriy Novozhilov
6031f80e01
[Test] Reproduce KT-63414, KT-64500 and KT-64501
2024-01-03 14:18:46 +00:00
Brian Norman
3346cc4b19
[FIR] Lambdas without contracts should be considered repeatable
...
^KT-63777 Fixed
2024-01-03 14:08:04 +00:00
Dmitrii Gridin
8a3f850bca
[LL FIR] StubBasedFirMemberDeserializer: deserialized properties must have default getter/setter
...
In FIR we always have either real getter/setter or the default one
^KT-62888 Fixed
^KT-62651 Fixed
2024-01-03 13:39:42 +00:00
Dmitrii Gridin
db2849dc0d
[Analysis API] add run configuration for standalone tests
...
^KT-62888
^KT-62651
2024-01-03 13:39:42 +00:00
Dmitrii Gridin
8de9d42b0d
[Analysis API] use createSearchScopeByLibraryRoots for test libraries
...
As it is more similar to production. Also, fixed scope search for klib.
Now we register main binary modules before to avoid duplication with
libraries from createLibrariesByCompilerConfigurators as now we can
have a declared library and regular sources
^KT-62888
^KT-62651
2024-01-03 13:39:42 +00:00
Dmitrii Gridin
02d99769ff
[Analysis API] Use library name in result jar
...
^KT-62888
^KT-62651
2024-01-03 13:39:41 +00:00
Dmitrii Gridin
a341dc704f
[Analysis API] Add symbol tests for properties from libraries
...
^KT-62888
^KT-62651
2024-01-03 13:39:41 +00:00
Dmitrii Gridin
faf33e4fa4
[Analysis API] add diagnostic test of type inference from getValue delegate
...
^KT-62888
2024-01-03 13:39:41 +00:00
Yahor Berdnikau
3eb86ede96
[Gradle] Fix warnings in KotlinBaseApiPlugin
...
^KT-56904 In Progress
2024-01-03 12:40:39 +00:00
Dmitriy Novozhilov
3a5e4d3b45
Advance bootstrap to 2.0.0-dev-11567
2024-01-03 12:12:58 +00:00
Evgenii Mazhukin
0c647d6fec
[Tests] Double-check the Native incremental builds in Gradle IT
...
Couldn't reproduce the issue in tests or with the reproducer. Most likely the problem was on my side.
^KT-63970 Can't Reproduce
Merge-request: KT-MR-13673
Merged-by: Evgenii Mazhukin <evgenii.mazhukin@jetbrains.com >
2024-01-03 12:08:04 +00:00
Kirill Rakhman
fd12f24725
[FIR] Only let supertypes of ILTs include Number when it's not unsigned
...
#KT-64607 Fixed
2024-01-03 12:05:18 +00:00
Artem Kobzar
81d6615915
[K/Wasm] Add ownership for stepping tests and source-maps
2024-01-03 10:55:39 +00:00
Andrey Yastrebov
c6bf5b8ef1
KT-63592 Add testGenerateLLDBInitFile test
2024-01-03 10:29:18 +00:00
Andrey Yastrebov
4176c50107
KT-63592 Create setupLLDBScript task
2024-01-03 10:29:18 +00:00
Dmitriy Novozhilov
56221467ff
[FIR] Rename PLUGIN_ANNOTATION_AMBIGUITY to COMPILER_REQUIRED_ANNOTATION_AMBIGUITY
...
This diagnostic may be reported even without any compiler plugins (e.g.
for annotation named `Target` or `Deprecated`), so the old name
and message were quite confusing
^KT-64654
2024-01-03 08:50:20 +00:00
Vladimir Sukharev
5728b34733
[K/N][Tests] Ignore test klibName on LInux with caches
...
^KT-61259
2024-01-02 18:47:05 +00:00
Alexander Shabalin
d6a922bc74
[K/N][tests] Migrate link tests to new testing infra ^KT-61259
2024-01-02 18:47:05 +00:00
Sonya Valchuk
588549d1d0
JVM_IR: add offsets to JvmStatic and JvmOverloads proxies
...
KAPT3 needs them to correct error types in arguments.
#KT-64639 Fixed
2024-01-02 17:43:09 +00:00
Alexander Korepanov
d5aaa29a7f
[JS FIR] Implement FirJsReflectionAPICallChecker diagnostic
...
^KT-60899 Fixed
2024-01-02 16:45:12 +00:00
Marco Pennekamp
af7eb8b7af
[AA] Add reference resolve tests for Java enums with getName function
...
^KT-62524
2024-01-02 16:41:34 +00:00
Marco Pennekamp
c611f1923f
[AA] Refactoring: Move Java reference resolve tests to java subfolder
2024-01-02 16:41:34 +00:00
Kirill Rakhman
5d3738c804
[FIR] Improve annotation use-site target rendring for diagnostics
...
#KT-62816 Fixed
2024-01-02 15:17:02 +00:00
Kirill Rakhman
8f3f72d9c9
[FIR] Use correct type renderer in symbol rendering for diagnostics
...
#KT-62815 Fixed
2024-01-02 15:17:02 +00:00
Kirill Rakhman
6b049df87c
[FIR] Render deprecation message if it's not a named argument.
2024-01-02 15:17:02 +00:00
Kirill Rakhman
8aa32d9f45
[FIR] Rename DUPLICATE_LABEL_IN_WHEN to DUPLICATE_BRANCH_CONDITION_IN_WHEN
...
... and fix the message
#KT-35289 Fixed
2024-01-02 15:17:02 +00:00
Kirill Rakhman
28eb78fe16
[FIR] Add description to ERROR_IN_CONTRACT_DESCRIPTION
...
#KT-49084 Fixed
2024-01-02 15:17:02 +00:00
Kirill Rakhman
0c4603f3e5
[FIR] Improve DSL_SCOPE_VIOLATION message
2024-01-02 15:17:02 +00:00
Kirill Rakhman
f4740e9e05
[FIR] Improve ASSIGNMENT_OPERATOR_SHOULD_RETURN_UNIT message
2024-01-02 15:17:02 +00:00
Kirill Rakhman
80d47d6483
[FIR] Improve LOCAL_INTERFACE_NOT_ALLOWED message
2024-01-02 15:17:02 +00:00
Kirill Rakhman
c8b965c102
[FIR] Improve SMARTCAST_IMPOSSIBLE message
2024-01-02 15:17:02 +00:00
Kirill Rakhman
8ac7a6bb90
[FIR] Improve REDUNDANT_MODIFIER message
2024-01-02 15:17:02 +00:00
Kirill Rakhman
dd0e919860
[FIR] Fix rendering of SUBCLASS_OPT_IN_INAPPLICABLE
2024-01-02 15:17:02 +00:00
Kirill Rakhman
14bdcbfecd
[FIR] Improve NO_ELSE_IN_WHEN message
2024-01-02 15:17:02 +00:00
Kirill Rakhman
d5ed922208
[FIR] Make rendering of cone type attributes in diagnostic messages opt-in per attribute
...
#KT-63228 Fixed
2024-01-02 15:17:01 +00:00
Kirill Rakhman
2b53e4ecbd
[FIR] Replace backticks with single quotes in diagnostic messages
2024-01-02 15:17:01 +00:00
Kirill Rakhman
945e80f35e
[FIR] Fix quotes in diagnostic messages
...
#KT-62386
2024-01-02 15:17:01 +00:00
Dmitriy Novozhilov
8db722658d
[Build] Include :libraries:tools:kotlinp back to compilation with JPS build
2024-01-02 15:07:44 +00:00
Dmitriy Novozhilov
d3c03325c9
[Build] Properly setup the version of Apache commons-text dependency
...
Versions of external libraries should be listed in version catalog, not
directly in a build file
2024-01-02 15:07:44 +00:00
Dmitriy Novozhilov
3cf9a6f687
[Build] Fix JPS import of :libraries:tools:abi-comparator
2024-01-02 15:07:44 +00:00
Andrey Yastrebov
175dd40d45
KT-57650 Add outdated repo test
2024-01-02 13:54:00 +00:00
Andrey Yastrebov
4cdb9301ed
KT-57650 run pod install --repo-update if repo is out of date
2024-01-02 13:54:00 +00:00
Artem Kobzar
da4c6dd443
[K/JS, K/N, K/Wasm] Fix more general case of the ^KT-61929 issue
2024-01-02 12:18:34 +00:00
Alexander Korepanov
4609b11102
[JS FIR] Add JsName clash test
...
^KT-64364
2024-01-02 10:15:02 +00:00