Alexander Udalov
f1b0e893ae
Remove kotlin-annotations-android
...
#KT-44815 Fixed
2021-02-15 17:23:44 +01:00
Alexander Udalov
899f75466d
Remove tests on kotlin-annotations-android
...
#KT-44815
2021-02-15 17:23:44 +01:00
Alexander Udalov
3432f581cb
Remove compiler support for kotlin-annotations-android
...
#KT-44815
2021-02-15 17:23:44 +01:00
Jinseong Jeon
a884555171
FIR: bail out early for override check if base candidate is private
2021-02-15 19:16:36 +03:00
Jinseong Jeon
09640d9d63
FIR checker: apply override checker to anonymous objects
...
^KT-44695 Fixed
2021-02-15 19:16:35 +03:00
Jinseong Jeon
9370f918e9
FIR: use override checker when populating directOverriddenProperties
2021-02-15 19:16:35 +03:00
Victor Petukhov
fa1507fb91
Fix FIR test lambdaParameterTypeInElvis
2021-02-15 18:51:51 +03:00
Simon Ogorodnik
83836037f8
Add documentation on type checker context / type system context
2021-02-15 18:29:00 +03:00
Simon Ogorodnik
3909e3c54c
Decouple TypeCheckerContext and TypeSystemContext
2021-02-15 18:28:58 +03:00
Andrei Klunnyi
53a7dc1126
KT-44839 [Sealed interfaces]: restore move-tests for lang-version < 15
...
This commit restores tests removed in 690fb47c .
2021-02-15 15:28:00 +00:00
Andrei Klunnyi
eb0c73fd5e
KT-44839 [Sealed interfaces]: ability to specify compiler options in tests
2021-02-15 15:28:00 +00:00
Andrei Klunnyi
c63a9afa56
KT-44839 [Sealed interfaces]: move refactoring for language level < 1.5
...
This commit restores sealed-check-logic for language level < 1.5
mistakenly removed in 690fb47c .
^KT-44839 fixed
2021-02-15 15:27:59 +00:00
Yahor Berdnikau
5c7aadece9
Fix test founds more lines then expected.
...
Now Gradle additionally prints warning message regarding using debug
logs that wrapped in '####*' lines.
2021-02-15 15:35:23 +01:00
Yahor Berdnikau
224aea0953
Ignore test due to the bug in AGP on Gradle 6.8+.
...
It is not possible to make it work via reflection.
2021-02-15 15:35:23 +01:00
Yahor Berdnikau
9d9df0c4ff
Expect new attributes compatibility error.
...
Since Gradle 6.4 error message was changed, when dependency does not
provide all required attributes.
2021-02-15 15:35:22 +01:00
Yahor Berdnikau
6c0ee2f9ea
Update test to use new test xml output format.
...
This format was slightly changed starting Gradle 6.6. Adapted
tests to use new expected output when current Gradle runner is greater
then 6.5.
2021-02-15 15:35:22 +01:00
Yahor Berdnikau
6d2465d00c
Update Gradle version for tests to 6.8.1.
2021-02-15 15:35:18 +01:00
Dmitry Petrov
b262d09a81
JVM_IR KT-44627 fix bridge signature for parameter with primitive bound
2021-02-15 17:19:33 +03:00
Mikhail Glukhikh
fa0f967c83
FIR2IR: support adapted references for constructors
2021-02-15 17:08:13 +03:00
Mikhail Glukhikh
8bab208322
FIR2IR: use information about callable reference adaptation from resolve
2021-02-15 17:08:08 +03:00
Victor Petukhov
dcad9c84fc
Don't fix type variables into Nothing in priority way
...
^KT-44546 Fixed
2021-02-15 15:12:45 +03:00
Yahor Berdnikau
440fc8c4e4
Deprecated 'kotlin.useCompilerFallbackSearch' property.
...
This property was introduced in 2018 and no longer supported.
See https://discuss.kotlinlang.org/t/how-to-set-usefallbackcompilersearch/9039
for details why it was introduced.
2021-02-15 12:43:22 +01:00
Yahor Berdnikau
069941cdaf
Provide compiler classpath as task input.
...
This ensures that compiler classpath is what is expected
by Kotlin Plugin and removes possibility of leaking wrong jars
from Gradle wrapper classpath.
For 'kotlin.useFallbackCompilerSearch' old behaviour is still present,
but this option should be marked as deprecated and removed in one
of the Kotlin releases.
2021-02-15 12:43:18 +01:00
Dmitriy Dolovov
0eaea655d0
[Commonization] Improvements in approx. keys
...
- Don't print upper bounds if it contains only kotlin/Any?
- Print variance in lowercase
2021-02-15 13:25:52 +03:00
Dmitriy Dolovov
3c6eb8f8f4
Minor. Formatted
2021-02-15 13:25:47 +03:00
Dmitriy Dolovov
0af31abb04
[Commonizer] Add tests for overloading purely by different upper bounds
2021-02-15 13:25:40 +03:00
Dmitriy Dolovov
90cdb9203f
[Commonizer] Fix integration tests: wrong mismatches filter
2021-02-15 13:25:34 +03:00
Dmitriy Dolovov
8a17de38d0
[Commonizer] Fix integration tests: serialize only own module contents
2021-02-15 13:25:28 +03:00
Dmitriy Dolovov
7f8f1dc4f8
[Commonizer] Calculate hash code by pure name in approximation keys
2021-02-15 13:25:22 +03:00
Mikhael Bogdanov
6ff5704ef9
Delete obsolete test
2021-02-15 11:24:10 +01:00
Mikhael Bogdanov
f493766563
Add IR tests to Android codegen test
2021-02-15 11:24:10 +01:00
Victor Petukhov
c0759f96e9
Fix FIR test lambdaParameterTypeInElvis
2021-02-15 12:59:07 +03:00
Yaroslav Chernyshev
8acf3b1d76
[Cocoapods] Fail import if project's version wasn't specified
...
#Fixed KT-44000
2021-02-15 12:39:40 +03:00
Victor Petukhov
c158c64ee0
Reformat TypeWithEnhancement.kt
2021-02-15 12:13:57 +03:00
Victor Petukhov
0d40022d6d
Add reporting of the warnings based on Java annotations for expanded type aliases
...
Before that, such warnings weren't reported as the corresponding errors were reported during type inference (only original types took part there)
2021-02-15 12:13:55 +03:00
Victor Petukhov
d783d99443
Use upper bound checker for typealias expansion
2021-02-15 12:13:53 +03:00
Victor Petukhov
edb8007d52
Add test for errors reporting of UPPER_BOUND_VIOLATED
2021-02-15 12:13:52 +03:00
Victor Petukhov
befe8599c4
Report warnings or errors for violated type parameter's upper bounds from Java annotated with nullability annotations
...
^KT-43262 Fixed
2021-02-15 12:13:50 +03:00
Dmitriy Novozhilov
cf4e61bebb
[FIR] Add spec diagnostic tests to [JPS] Fast FIR tests run configuration
2021-02-15 11:37:40 +03:00
Dmitriy Novozhilov
5711a8d610
[FIR] Support PreliminaryLoopVisitor in FIR DFA
2021-02-15 11:37:39 +03:00
Dmitriy Novozhilov
0e46a961a3
[FIR] Implement util Multimap classes
2021-02-15 11:37:39 +03:00
Dmitriy Novozhilov
67ad4249c8
[Test] Add FirDumpHandler to AbstractFirBlackBoxCodegenTest
...
This is needed to add ability to enable `FIR_DUMP` directive which
may be helpful in investigating bugs
2021-02-15 11:37:39 +03:00
Victor Petukhov
a94086224d
Clear request cache properly during disposing component
2021-02-15 11:13:11 +03:00
Victor Petukhov
6f64fd2fec
Propagate inference session into declaration analyzers
...
It prevents missing inference session for local declaration (local functions, local classes or objects)
^KT-44801 Fixed
2021-02-15 11:12:58 +03:00
Victor Petukhov
dae1f4c05d
Remove redundant extension receiver substitution during lambda's completion
2021-02-15 11:12:56 +03:00
Alexander Likhachev
b463a0fa58
[Gradle] Use property provider for configuration time only if available
2021-02-15 09:58:51 +03:00
Alexander Likhachev
683bd0ed38
[Gradle, JVM] Don't create deprecated compile/runtime configurations
...
Gradle also removes these configurations in 7.0. See gradle/gradle@2cb45cdbd0
#KT-44462 Fixed
2021-02-15 09:35:54 +03:00
Alexander Likhachev
ef458b20e1
[Gradle] Replace deprecated dependencies configurations in buildscript
2021-02-15 09:21:44 +03:00
Alexander Likhachev
c7427a751a
[Gradle, K/N] Add integration tests for framework artifacts
...
#KT-43556 Fixed
2021-02-15 09:21:44 +03:00
Alexander Likhachev
383b9834a1
[Gradle, K/N] Make BitcodeEmbeddingMode move backward compatible
2021-02-15 09:21:44 +03:00