Mikhail Zarechenskiy
67100d5ebe
Reject values of DeprecatedSince.. that are not parseable as a version
2020-06-29 14:25:07 +03:00
Mikhail Zarechenskiy
5d88058928
Place DeprecatedSinceKotlin annotation under 1.4 version
2020-06-29 14:25:06 +03:00
Mikhail Zarechenskiy
2f55a3fa0d
Add various test for DeprecatedSinceKotlin annotation
2020-06-29 14:23:26 +03:00
Mikhail Zarechenskiy
0f2c96c64d
Don't perform additional lookups for DeprecatedSinceKotlin annotation
...
There is no need to check it as `DeprecatedSinceKotlin` can be used
only along with `Deprecated` annotation
2020-06-29 14:23:22 +03:00
Mikhail Zarechenskiy
158013ef3a
Remove message and replaceWith parameters from DeprecatedSinceKotlin
2020-06-29 14:22:33 +03:00
Mikhail Zarechenskiy
60c51476f2
Introduce declaration checker for DeprecatedSinceKotlin annotation
...
- DeprecatedSinceKotlin annotation should only be applicable when
there's `@Deprecated` annotation on the same declaration
- Deprecation level shouldn't be specified in the relevant
`@Deprecated` annotation
- Check that warningSince <= errorSince <= hiddenSince
2020-06-29 14:22:32 +03:00
Alexander Udalov
0aaf29c045
Introduce DeprecatedSinceKotlin annotation
...
This annotation will be used in the standard library to prevent the new
compiler from reporting deprecation diagnostics in case an older API
version is used (where the declaration was not deprecated yet).
#KT-23575 Fixed
2020-06-29 14:22:29 +03:00
Dmitriy Dolovov
b2022144e6
[Commonizer] Fast-pass for library fragments absent for some targets
...
^KT-39897
2020-06-29 16:40:59 +07:00
Dmitriy Novozhilov
ee22488ab2
[FIR] Cleanup FIR modules. Part 8 (types package)
2020-06-29 12:19:06 +03:00
Dmitriy Novozhilov
2c3fe8b8ec
[FIR] Cleanup FIR modules. Part 7 (scopes package)
2020-06-29 12:19:06 +03:00
Dmitriy Novozhilov
c6124f6d56
[FIR] Cleanup FIR modules. Part 6 (transformers package)
2020-06-29 12:19:05 +03:00
Dmitriy Novozhilov
e817f919c2
[FIR] Cleanup FIR modules. Part 5 (body.resolve package)
2020-06-29 12:19:05 +03:00
Dmitriy Novozhilov
285b6d28af
[FIR] Cleanup FIR modules. Part 4 (providers and resolve packages)
2020-06-29 12:19:05 +03:00
Dmitriy Novozhilov
1d90302848
[FIR] Cleanup FIR modules. Part 3 (inference package)
2020-06-29 12:19:05 +03:00
Dmitriy Novozhilov
1766c22f6f
[FIR] Cleanup FIR modules. Part 2 (dfa package)
2020-06-29 12:19:04 +03:00
Dmitriy Novozhilov
604c68b3a0
[FIR] Cleanup FIR modules. Part 1 (calls package)
2020-06-29 12:19:04 +03:00
Dmitriy Novozhilov
1ac0e8449b
[FIR] Move FirJavaTypeRef to fir.jvm module
2020-06-29 12:19:04 +03:00
Dmitriy Novozhilov
fd1de9b298
[FIR] Fix typo in FirCloneableSymbolProvider
2020-06-29 12:19:03 +03:00
Dmitriy Novozhilov
57b9baac53
[FIR] Get rid of FirSession.inferenceContext
...
Leave only FirSession.typeContext
2020-06-29 12:19:03 +03:00
Dmitriy Novozhilov
43bb60addb
[FIR] Remove workaround for KT-39659
2020-06-29 12:19:03 +03:00
Dmitriy Novozhilov
7834284bec
[FIR] Support deserialization of value parameter annotations
...
There are still some problems, see KT-39837
2020-06-29 12:19:03 +03:00
Dmitriy Novozhilov
2b2f9b3386
[FIR] Remove delegate specific methods from abstract inference session
2020-06-29 12:19:02 +03:00
Dmitriy Novozhilov
9c6ed2ea02
[FIR] Complete delegate calls in default inference session
2020-06-29 12:19:02 +03:00
Dmitriy Novozhilov
dbbb999952
[FIR] Support builder (coroutine) inference
...
#KT-37431 Fixed
2020-06-29 12:19:02 +03:00
Dmitriy Novozhilov
6a9504f26a
[FIR-TEST] Add coroutines diagnostic tests from old FE to FIR test suite
2020-06-29 12:19:02 +03:00
Dmitriy Novozhilov
d0affc6c6a
[FIR] Rename ResolverParts.kt to ResolutionStages.kt
2020-06-29 12:19:01 +03:00
Dmitriy Novozhilov
de1b5cd056
[FIR] Add extracting @Exact and @NoInfer attributes from annotations
...
(cherry picked from commit e4c8c14e3e )
2020-06-29 12:19:01 +03:00
Dmitriy Novozhilov
7ab3dd04a0
[FIR] Add attributes for @Exact and @NoInfer
...
(cherry picked from commit e43932f147 )
2020-06-29 12:19:01 +03:00
Dmitriy Novozhilov
ac51e5dbd1
[FIR] Add workaround for KT-19306
2020-06-29 12:19:00 +03:00
Dmitriy Novozhilov
3f5db6b86e
[FIR] Add ConeAttributes to ConeKotlinType
...
(cherry picked from commit f76befa84e )
2020-06-29 12:19:00 +03:00
Dmitriy Novozhilov
e76f3f93f6
[FIR] Move ArrayMap to cones module
...
(cherry picked from commit 407d1365bd )
2020-06-29 12:19:00 +03:00
Abduqodiri Qurbonzoda
d3fb9cc5f3
Deprecate with error mixed Int/FP contains operator for ranges KT-22423
2020-06-29 12:18:19 +03:00
Vladimir Dolzhenko
ab20b3e083
Add InterruptedException handler to CancellableSimpleLock
...
#EA-220650 Fixed
2020-06-29 08:47:53 +00:00
Vladimir Dolzhenko
a9444c386d
Use actual import list on PlainTextPaste
...
#EA-225256 Fixed
2020-06-29 08:47:52 +00:00
Dmitry Gridin
30f98e6730
Inline refactoring: shouldn't lose return type information
...
#KT-26705 Fixed
2020-06-29 07:55:21 +00:00
Dmitry Gridin
c3b726f10a
Inline refactoring: should add explicit type argument for parameters
...
#KT-17402 Fixed
2020-06-29 07:55:20 +00:00
Dmitry Gridin
45234c9784
Inline refactoring: fix case with introduction of variable to return
...
#KT-39818 Fixed
2020-06-29 07:55:20 +00:00
Andrey Uskov
f4e9acb233
Escape arguments when Gradle plugin launches out of process compilation
...
#KT-39755 Fixed
2020-06-28 11:38:04 +03:00
Yunir Salimzyanov
90dae320c3
Specify full name of parametrized flaky test to synchronize it on TeamCity
...
KTI-239
2020-06-27 13:29:18 +03:00
Yunir Salimzyanov
b795e50e61
Add logic to synchronize muted tests on teamcity with database flaky tests
...
KTI-239
2020-06-27 13:29:18 +03:00
Yunir Salimzyanov
a382bef144
Extract classes and related functions of muteWithDatabase to separate module
2020-06-27 13:29:18 +03:00
Yunir Salimzyanov
4474077963
Create separate module for muting tests logic
2020-06-27 13:29:17 +03:00
Georgy Bronnikov
5e115c48b3
Unmute FIR test
2020-06-27 00:25:34 +03:00
Shagen Ogandzhanian
8a393ec041
Update dukat dependency to 0.5.4
2020-06-26 21:05:21 +02:00
Leonid Startsev
901d8f3e7a
Rename several core entities as a part of kx.serialization abi change
2020-06-26 20:31:23 +03:00
Leonid Startsev
5208bbcd21
Support new ContextSerializer signature
2020-06-26 20:31:22 +03:00
Toshiaki Kameyama
7ea1700b78
Convert lambda to reference: support generic function call
...
#KT-14578 Fixed
#KT-14395 Fixed
2020-06-26 20:30:39 +03:00
Dmitry Petrov
2137a4b1e5
JVM, JVM_IR: no nullability annotations on private and synthetic methods
...
NB it looks like it doesn't cover all cases, e.g., some synthetic
methods generated for suspend functions.
2020-06-26 18:51:35 +03:00
Georgy Bronnikov
5684e694b5
JVM_IR: handle diamond inheritance for Java fields
2020-06-26 18:46:41 +03:00
Anton Bannykh
da79f93c61
JS IR: per-module .js generation support
2020-06-26 17:55:33 +03:00