Mikhail Glukhikh
769a2ca9b1
K1: report ENUM_DECLARING_CLASS_DEPRECATED on enum entry properly
...
#KT-53807 Fixed
2022-09-12 10:45:23 +00:00
Leonid Startsev
62f67e46fd
Add SerializerFactory supertype for Native & JS in FIR serialization plugin.
...
This supertype is intended to be used with @AssociatedObject on platforms
where reflection possibilities are limited.
2022-09-12 10:19:39 +00:00
Abduqodiri Qurbonzoda
b388c7503b
Advance Int/Long/Double.units deprecation level to ERROR #KT-53864
2022-09-11 23:49:07 +03:00
Abduqodiri Qurbonzoda
89b5ce1ed7
Advance Duration.toLongUnits() deprecation level to ERROR #KT-53864
2022-09-11 23:49:07 +03:00
Abduqodiri Qurbonzoda
b1300332ee
Advance Duration.inUnits deprecation level to ERROR #KT-53864
2022-09-11 23:49:06 +03:00
Abduqodiri Qurbonzoda
0b4ceb0897
Advance Duration.units(value) deprecation level to ERROR #KT-53864
2022-09-11 23:49:06 +03:00
Abduqodiri Qurbonzoda
7060811c8b
Remove the brittle contains optimization code #KT-47707
2022-09-11 10:54:37 +00:00
Dmitry Gridin
51fd2af6fd
[lc] decompiled: update debug info
...
^KTIJ-22722
2022-09-10 21:37:47 +02:00
Alexander Udalov
ed6fe15e07
Support serialization of builtins with ExperimentalStdlibApi
...
This will allow to remove OptIn and ExperimentalStdlibApi from
serialized builtins after bootstrap.
#KT-53073
2022-09-09 21:31:39 +02:00
Alexander Udalov
686cd82327
Serialize OptIn to builtins, improve tests
...
Skip SOURCE-retention annotations in builtins serialization tests,
because otherwise the source analysis result can't be equal to the
metadata deserialization result.
#KT-53073 Fixed
2022-09-09 21:31:39 +02:00
Roman Golyshev
3f6742916a
Increment stub binary version due to externalId change
...
Follow-up to e0c2813a37
2022-09-09 18:48:30 +02:00
Mikhail Glukhikh
393e99fa44
FE: don't run overload-by-lambda-return-type with unsuccessful candidates
...
Related to KT-52927
2022-09-09 16:12:24 +00:00
Vladimir Sukharev
046f0ad95d
Adjust test kt53119_append_generated.kt to changes in KT-53864
...
Merge-request: KT-MR-7080
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2022-09-09 14:42:11 +00:00
Jinseong Jeon
68519af97a
AA: add tests about platform types
...
...as declaration return type or expression type
2022-09-09 15:02:23 +02:00
Vladimir Sukharev
c8864369fd
Use main class as test generator name
...
Merge-request: KT-MR-7031
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2022-09-09 12:51:18 +00:00
Jinseong Jeon
b9501e7452
SLC: suppress final on interface functions
...
even bridges to functions in companion object
2022-09-09 14:47:10 +02:00
Mikhail Glukhikh
e02fd8f4a8
FE: don't run builder inference in UNTIL_FIRST_LAMBDA mode
...
#KT-52927 Fixed
2022-09-09 12:44:39 +00:00
Ilya Kirillov
8ee4cf46d3
[slc] actualize SLC testdata
2022-09-09 14:38:12 +02:00
Jinseong Jeon
3eb68a6ee8
S/LC: fix default visibility of constructor of sealed class
2022-09-09 14:38:12 +02:00
Jinseong Jeon
5225c51a5a
SLC: handle @JvmOverloads on constructor
2022-09-09 14:38:12 +02:00
Jinseong Jeon
d4efc8d81d
SLC: use partition to distinguish ctor properties from regular members
2022-09-09 14:38:11 +02:00
Jinseong Jeon
4859524115
SLC: account for upperbounds when computing nullability of type parameter
2022-09-09 14:38:11 +02:00
Alexander Udalov
e83819e682
Minor, remove obsolete directives from jvm-abi-gen tests
...
Language version 1.6 was needed in these tests to enable annotation
instantiation, but that feature is now enabled by default.
2022-09-09 14:32:36 +02:00
Alexander Udalov
6e1cddd039
Disable @SourceDebugExtension generation in jvm-abi-gen tests
...
In these two tests, contents of the annotation differ by design, and
that does not constitute a difference in ABI.
2022-09-09 14:32:35 +02:00
Alexander Udalov
7dad47cd76
Add -X argument to disable generation of @SourceDebugExtension
...
This will be used in tests in the subsequent commit.
2022-09-09 14:32:35 +02:00
Alexander Udalov
87d3ce6ded
Write a copy of SMAP to a new annotation
...
To make it available for dynamically attached JVMTI agents.
`@SourceDebugExtension` annotation value is equal to the
SourceDebugExtension attribute value, which is checked now for all box
tests. The difference is that the annotation stored in the constant
pool, which is available for dynamically attached JVMTI agents.
#KT-53438 Fixed
2022-09-09 14:32:35 +02:00
Igor Chevdar
1e6f7f6d58
[K/N] Fixed problem with non-empty output directory
2022-09-09 12:23:05 +00:00
Artem Kobzar
da367a467d
[K/JS] chore: stop unnecessary defineProperties generating.
2022-09-09 11:14:26 +00:00
Sergej Jaskiewicz
9176ba5b2d
[JS IR] Don't set fileIdentity when embedding sources into sourcemaps
...
(see the comment)
2022-09-09 11:02:26 +00:00
Sergej Jaskiewicz
64465480a3
[JS] J2K for SourceMap3Builder
2022-09-09 11:02:25 +00:00
Sergej Jaskiewicz
660e8ff4da
Rename .java to .kt
2022-09-09 11:02:25 +00:00
Sergej Jaskiewicz
7874b1fcad
[JS] Rename JsLocation.identityObject to fileIdentity
2022-09-09 11:02:25 +00:00
Sergej Jaskiewicz
b9cac8a4ca
[JS IR] Support the sourceMapEmbedSources setting (partially)
...
This doesn't work with external libraries yet (including stdlib).
2022-09-09 11:02:25 +00:00
Rick Clephas
b406722e20
[K/N] Prohibit empty ObjCNames
2022-09-09 12:31:36 +02:00
Anna Kozlova
0290f09ac2
ensure changes in getters/setters modifiers are not treated as local
2022-09-09 12:07:35 +02:00
Yahor Berdnikau
920fc2b8af
Set minimal supported Gradle version to 6.8.3
...
^KT-53885 Fixed
2022-09-09 08:26:52 +00:00
Vladimir Dolzhenko
e0c2813a37
Increment version due to externalId change
...
#KT-53781
2022-09-09 08:17:50 +00:00
Nikolay Krasko
496058c7e1
Forbid handling dashed in KotlinToolingVersion parsing
2022-09-08 14:45:59 +00:00
Nikolay Krasko
ff04918125
Allow any classifiers for DEV maturity
...
Allow to have personal builds with custom versioning.
KTI-922
2022-09-08 14:45:58 +00:00
Nikolay Krasko
a47377e214
Refactoring: utilities for checking build and classifier numbers
2022-09-08 14:45:58 +00:00
Nikolay Krasko
1df9882aed
Refactoring: simplify maturity testing in KotlinToolingVersionTest
2022-09-08 14:45:58 +00:00
Abduqodiri Qurbonzoda
0db9326105
Introduce a deprecated StringBuilder.append(CharArray, Int, Int) in Common #KT-52336
2022-09-08 14:34:38 +00:00
Abduqodiri Qurbonzoda
faedd76b32
Remove deprecation from ConcurrentModificationException constructors #KT-53927
...
The constructors were introduced in jdk7,
thus their usage was prohibited in Common code.
Now that jvmTarget is 1.8 and jdk8+ is used to compile stdlib,
these constructors are available on all platforms.
2022-09-08 14:01:09 +00:00
Dmitry Gridin
7102be7720
[lc] KotlinAsJavaSupportBase: introduce LightClassCachedValue
...
to extract common logic with cached values
^KT-50241
2022-09-08 13:47:41 +00:00
Dmitry Gridin
2611be0436
[lc] KotlinAsJavaSupportBase: make ifValid inline
...
^KT-50241
2022-09-08 13:47:40 +00:00
Dmitry Gridin
aa31ca67e2
[lc] KotlinAsJavaSupportBase: make librariesTracker abstract
...
^KT-50241
2022-09-08 13:47:40 +00:00
Dmitry Gridin
e6bb97d490
[lc] KotlinAsJavaSupportBase: suppress visibility warnings
...
methods can be used from the plugin for tests
^KT-50241
2022-09-08 13:47:40 +00:00
Dmitry Gridin
b618855e2c
[lc] KotlinAsJavaSupportBase: add more lightweight checks for facades
...
^KT-50241
2022-09-08 13:47:39 +00:00
Dmitry Gridin
ec1b6f4f3e
[lc] KotlinAsJavaSupportBase: reduce number of findModule calls
...
^KT-50241
2022-09-08 13:47:39 +00:00
Dmitry Gridin
acc880fe25
[slc] SymbolKotlinAsJavaSupport: drop redundant checks
...
^KT-50241
2022-09-08 13:47:39 +00:00