Dmitriy Novozhilov
f4347a60c2
[FIR] Fix typo
2020-11-12 14:46:35 +03:00
Mikhail Glukhikh
3c48f2eb68
[FIR] Handle isProp/setProp synthetic pair properly in Java use-site scope
2020-11-12 13:37:38 +03:00
Mikhail Glukhikh
2725930460
[FIR] Code cleanup in JavaClassUseSiteMemberScope
2020-11-12 13:37:37 +03:00
Mikhail Glukhikh
fb961f7070
[FIR] Copy also synthetic setter during fake override generation
2020-11-12 13:37:37 +03:00
Mikhail Glukhikh
22fb620344
[FIR Java] Copy also synthetic setter during enhancement
2020-11-12 13:37:37 +03:00
Mikhail Glukhikh
e0abf3a62c
[FIR Java] More precise synthetic setter search in use-site scope
...
In this commit we detect both Java void & Kotlin Unit return types
2020-11-12 13:37:37 +03:00
Mikhail Glukhikh
c515af4373
Fir2IrDeclarationStorage: extract common getIrCallableSymbol
2020-11-12 13:37:37 +03:00
Mikhail Glukhikh
b90391ced4
[FIR2IR] Implement getIrConstructorSymbol like getIrFunctionSymbol
2020-11-12 13:37:36 +03:00
Mikhail Glukhikh
0cc57fc90c
Fir2IrDeclarationStorage: reorder functions slightly
2020-11-12 13:37:36 +03:00
Mikhail Glukhikh
90f135dc3e
[FIR2IR] Use computeDeclarationOrigin in getIrPropertySymbol
2020-11-12 13:37:36 +03:00
Mikhail Glukhikh
6c1f5a4513
[FIR2IR] Cache functions/properties both by symbol & signature
2020-11-12 13:37:36 +03:00
Mikhail Glukhikh
92840b8ec5
FirTypeIntersectionScope: fix typo in name
2020-11-12 13:37:35 +03:00
Mikhail Glukhikh
5b947144d4
FirTypeIntersectionScope: don't create in no-supertypes situation
2020-11-12 13:37:35 +03:00
Mikhail Glukhikh
8ace0d9ad1
[FIR] Replace local types with Any in deserializer
2020-11-12 13:37:35 +03:00
Mikhail Glukhikh
744918fb47
[FIR] Cleanup ConeIntegerLiteralTypeImpl
2020-11-12 13:37:35 +03:00
Mikhail Glukhikh
0d03e5f235
[FIR] Simplify constructStarProjectedType
2020-11-12 13:37:34 +03:00
Mikhail Glukhikh
af52232058
[FIR2IR] Use proper lookup tags in data class member generator
2020-11-12 13:37:34 +03:00
Mikhail Glukhikh
7905bc8632
Forbid creation of local ConeClassLikeLookupTagImpl
2020-11-12 13:37:34 +03:00
Bingran
5dc7964137
Optimize the way of enabling "--warning-mode=fail"
...
Make sure project directory is cleaned up after testing
This change is a "follow-up" PR of
https://github.com/JetBrains/kotlin/pull/3804 .
2020-11-12 11:13:56 +03:00
Dmitriy Dolovov
e5539b9a9e
Gradle, Native: Log raw and transformed args in KotlinToolRunner, p.2
2020-11-12 10:40:33 +03:00
Ilya Gorbunov
4767696840
Qualify replacement expression with receiver to workaround KT-42874
2020-11-12 05:29:39 +03:00
Andrey Uskov
e0655b2f96
Unmute fixed android importing tests in platform 202
2020-11-12 00:24:50 +03:00
Andrey Uskov
a0d5af8dd1
Execute gutters calculation in read action in tests
2020-11-12 00:24:44 +03:00
Andrey Uskov
e5be9601e6
Disable indexation ExternalSystem tests
2020-11-12 00:24:43 +03:00
Andrey Uskov
9318d401f7
Fix test runtime dependencies in NativeImportingTests
2020-11-12 00:24:42 +03:00
Andrey Uskov
dea383460e
Add dependency on platform-images in tests
2020-11-12 00:24:41 +03:00
Yan Zhulanow
5f7d7ff9c7
Parcelize: Activate checkers only when the plugin is enabled for module (KT-43291)
2020-11-12 05:38:27 +09:00
Ilya Kirillov
9d207c2cf5
FIR IDE: temporary mute some not passing tests
2020-11-11 21:02:34 +03:00
Ilya Kirillov
3e43efb93e
FIR IDE: fix working with copied file in completion
2020-11-11 21:02:33 +03:00
Igor Yakovlev
0d59656532
FIR IDE: Add resolving KtParameter in FirLazyDeclarationResolver
2020-11-11 21:02:31 +03:00
Dmitriy Novozhilov
345a0d3f89
[FIR] Implement writeGenericType in FirJvmTypeMapper
2020-11-11 21:02:31 +03:00
Ilya Kirillov
9350f7aff9
FIR IDE: remove unused method in light classes with compilation error
2020-11-11 21:02:29 +03:00
Ilya Kirillov
b42bed7b3c
FIR IDE: make some access to FIR elements under read locks, resolve under write locks
2020-11-11 21:02:28 +03:00
Ilya Kirillov
12ed92cd49
FIR IDE: allow getting parent declaration for Java one
2020-11-11 21:02:27 +03:00
Ilya Kirillov
cbd1ec35ce
FIR IDE: lazy resolve property accessors
2020-11-11 21:02:26 +03:00
Ilya Kirillov
fbc6f1b10f
FIR IDE: introduce SOURCE_MEMBER_GENERATED declaration kind
2020-11-11 21:02:24 +03:00
Ilya Kirillov
7dcda00e1d
FIR IDE: do not fail on invalid code
2020-11-11 21:02:22 +03:00
Ilya Kirillov
c646cb3d7e
FIR IDE: fix deadlock in getter symbol resolve
2020-11-11 21:02:21 +03:00
Ilya Kirillov
171157ff78
FIR IDE: allow reference resolving from EDT
...
It may be called from some other subsystems like Find usages.
Throwing PCE every time we try to resolve some reference from EDT
may result endless try to resolving
2020-11-11 21:02:19 +03:00
Igor Yakovlev
b742a475ff
[FIR IDE] Initial FIR LightClass implementation
2020-11-11 21:02:18 +03:00
Igor Yakovlev
c881cf7af6
[FIR IDE] Add when branch for new symbols in FunctionCallHighlightingVisitor
2020-11-11 21:02:14 +03:00
Igor Yakovlev
b423da106f
[FIR IDE] Add fir data into symbols to support FIR LC
2020-11-11 21:02:09 +03:00
Ilya Kirillov
3d93503894
FIR IDE: introduce analyze function for with by existing module resolve state
2020-11-11 21:02:07 +03:00
Igor Yakovlev
dbb54c87bc
[FIR IDE] Add Fir lightclasses tests and fix FindUsages tests
2020-11-11 21:02:00 +03:00
Igor Yakovlev
3cefef03ff
Move refactoring for ifTrue and ifFalse extensions
2020-11-11 21:01:58 +03:00
Ilya Kirillov
a42674ef0e
FIR IDE: add hack to allow access symbols on edt
2020-11-11 21:01:57 +03:00
Igor Yakovlev
97f062cb2a
[FIR IDE] Add FirJvmTypeMapper to Ide components factory
2020-11-11 21:01:56 +03:00
Igor Yakovlev
36ffde5ca8
[FIR] Implement isArrayOrNullableArray for ConeTypeContext
2020-11-11 21:01:55 +03:00
sebastian.sellmair
06cb64bb51
Allow open callable members in expect interfaces
...
#KT-42094 fixed
2020-11-11 17:41:59 +00:00
Dmitriy Dolovov
bf0156f7c6
Native, Gradle IT: Fix GeneralNativeIT.testNativeArgsWithSpaces()
2020-11-11 20:29:36 +03:00