Mikhail Zarechenskiy
eacc94a89d
Do not hide synthetic properties except isEmpty from Java
...
In order to hide synthetic property isEmpty from JDK 15, there was
added additional logic in 5cc12b49fc but
it also lead to the fact that now it's impossible to call synthetic
property `declaringClass` on `Enum` as it's in the same list as method
isEmpty(). Note that it's questionable behavior, probably we should
also hide `declaringClass` as well but for now we turn it back to
preserve compatibility
#KT-42467 Fixed
2020-10-15 12:26:17 +03:00
Yaroslav Chernyshev
4227e2dc40
[Cocoapods] Fix task and directory naming to avoid subspecs collision
...
Logics of generating name for dependencies downloaded from git or url
admits producing tasks with forbidden symbols inside name for subspecs.
This fix introduces replacing of forbidden symbols for such purposes.
#KT-42550 Fixed
2020-10-15 09:59:33 +03:00
Jinseong Jeon
b8817d5884
FIR2IR: clean up dead code regarding overriding utils
2020-10-15 08:47:46 +03:00
Jinseong Jeon
5f64d6ec76
FIR2IR: add support for callable reference to Java field
...
#KT-42656 Fixed
2020-10-15 08:47:46 +03:00
Jinseong Jeon
65545a10c4
FIR: reproduce KT-42656
2020-10-15 08:47:46 +03:00
Derek Bodin
96834d6f4c
Update example for default buildList to not use capacity KT-41136 ( #3688 )
2020-10-15 01:56:57 +03:00
Vladimir Dolzhenko
d9b3f91d73
Support hasError in ide perf tests vega charts
2020-10-15 00:09:48 +02:00
Vladimir Dolzhenko
051d914996
Align ide perf tests vega charts with json reports camelCase propNames
...
fix handling test errors
2020-10-14 21:31:03 +02:00
Ilya Kirillov
98efdaa523
FIR IDE: fix KtTypeRendererTest
2020-10-14 22:11:12 +03:00
Ilya Kirillov
5cda4b5ab3
fix test generator compilation
2020-10-14 22:11:12 +03:00
Ilya Kirillov
29151665e1
FIR IDE: add fir ide plugin tests task
2020-10-14 22:11:11 +03:00
Ilya Kirillov
bd68b937e5
FIR: ignore testdata directory in testPsiConsistency test
2020-10-14 22:11:10 +03:00
Ilya Kirillov
5c798d4e13
FIR IDE: fix test data in fir-ide module
2020-10-14 22:11:10 +03:00
Ilya Kirillov
6086b54a06
FIR IDE: do preliminary highlighting in completion tests considering exceptions
2020-10-14 22:11:09 +03:00
Ilya Kirillov
b9cf9d8bc5
FIR IDE: add missing test dependency
2020-10-14 22:11:09 +03:00
Ilya Kirillov
2f093e76b0
FIR IDE: render resolve phase for lazy resolve tests
2020-10-14 22:11:08 +03:00
Ilya Kirillov
9c53c66bb5
FIR IDE: actualize testdata for idea-frontend-fir module
2020-10-14 22:11:08 +03:00
Ilya Kirillov
a585d20639
FIR IDE: fix bodies calculator for property acessors
2020-10-14 22:11:07 +03:00
Ilya Kirillov
ab4faa52f0
FIR IDE: add missing IdeSessionComponents for FirIdeBuiltinsAndCloneableSession
2020-10-14 22:11:06 +03:00
Ilya Kirillov
a22514cf8e
FIR IDE: separate lazy phase into 3 phases, add contracts phase
2020-10-14 22:11:06 +03:00
Ilya Kirillov
c418140bef
FIR IDE: fix test dependencies
2020-10-14 22:11:05 +03:00
Ilya Kirillov
dc467f7d6c
FIR: add test which checks that we do not access lazy bodies & lazy expressions till contract phase
2020-10-14 22:11:04 +03:00
Ilya Kirillov
7611135a4a
FIR: add raw fir building delegate expression test
2020-10-14 22:11:04 +03:00
Ilya Kirillov
971e551bae
FIR IDE: implement lazy delegate initializers
2020-10-14 22:11:00 +03:00
Ilya Kirillov
3f9735dd5d
FIR: use enum in RawFirBuilder to indicate its mode: normals, stubs, or lazy bodies
2020-10-14 22:11:00 +03:00
Ilya Kirillov
81d4371685
FIR IDE: generate lazy initializers for properties
2020-10-14 22:10:59 +03:00
Ilya Kirillov
7c1170722f
FIR: add FirLazyExpression node
2020-10-14 22:10:58 +03:00
Ilya Kirillov
71b5b6df7c
FIR IDE: add tests for lazy resolving single declaration in file
2020-10-14 22:10:58 +03:00
Ilya Kirillov
f4199a0729
FIR: add ability to render declaration phase in FirRenderer
2020-10-14 22:10:57 +03:00
Ilya Kirillov
bbf450703f
FIR: introduce stub bodies raw fir test case
2020-10-14 22:10:56 +03:00
Ilya Kirillov
d2d330c3be
FIR IDE: implement lazy functions, constructors & accessors bodies building for raw fir
...
test
2020-10-14 22:10:56 +03:00
Ilya Kirillov
4fae9cbdb0
FIR: introduce FirLazyBlock node
2020-10-14 22:10:55 +03:00
Ilya Kirillov
864800902b
FIR IDE: introduce WeakFirByPsiRef
2020-10-14 22:10:55 +03:00
Mads Ager
17748b4499
[JVM_IR] Fix off-by-one line number error in CoroutineCodegen.
...
Fixes KT-41957.
2020-10-14 20:57:42 +02:00
pyos
13def12731
IR: remove unnecessary calls to deepCopyWithSymbols
...
to make it harder to hide incorrect uses.
2020-10-14 20:25:20 +02:00
Alexander Udalov
45a0850d95
Fix KotlinType.isNullabilityFlexible for types based on type parameters
...
In the compiler, this function was used in psi2ir (and it affected
nullability annotations in the resulting JVM class files), in "useless
elvis with null on the right side" diagnostic checker, and in light
classes.
#KT-42650 Fixed
2020-10-14 19:32:51 +02:00
Alexander Udalov
fbf56c054b
JVM IR: fix names of $annotations methods for internal properties
...
#KT-40384 Fixed
2020-10-14 19:32:51 +02:00
Alexander Udalov
3f73be391f
JVM IR: fix names of $annotations methods with inline classes in signature
...
#KT-40385 Fixed
2020-10-14 19:31:58 +02:00
Alexander Udalov
1df3bafbaf
Minor, fix and unmute fieldNameClash.kt test
...
#KT-31927
2020-10-14 16:53:58 +02:00
Alexander.Likhachev
ec877843fc
[Gradle, K/N] Increase Xmx for MPP tests with native
2020-10-14 17:13:32 +03:00
Mikhail Glukhikh
babc7845af
FirSyntheticPropertiesScope: support case with derived getter
...
#KT-42496 Fixed
2020-10-14 16:33:44 +03:00
Mikhail Glukhikh
2f9b7495fc
[FIR2IR] Make safe call result always nullable
2020-10-14 16:33:37 +03:00
Dmitry Petrov
d623f4d1d6
Add test for KT-40190
2020-10-14 16:05:15 +03:00
Alexander.Likhachev
d3f98923dc
[Gradle, JS] Fix K/JS project build with configuration cache enabled
...
KT-42494 Fixed
2020-10-14 15:10:34 +03:00
Alexander.Likhachev
82a66bc659
[Gradle, K/N] Remove wasm from VariantAwareDependenciesIT
2020-10-14 15:10:34 +03:00
Alexander.Likhachev
e505c6473d
[Gradle, K/N] Remove check for export API from libraries producing test
2020-10-14 15:10:34 +03:00
Alexander.Likhachev
72ad581fe4
[Gradle, K/N] Change prefix of apple-specific tests to native-*
...
The commit does nothing but renaming of directories
2020-10-14 15:10:34 +03:00
Alexander.Likhachev
3ab99c1f96
[Gradle, K/N] Reduce number of targets in MPP tests
2020-10-14 15:10:34 +03:00
Alexander.Likhachev
3dda02459d
[Gradle, K/N] Add more cases for cinterop test
2020-10-14 15:10:34 +03:00
Alexander.Likhachev
be7cc32c10
[Gradle, K/N] Add export API test for frameworks
2020-10-14 15:10:34 +03:00