Ilya Kirillov
bc3e98b116
FIR IDE: allow PCE between resolve phases, forbid in other cases
2020-08-28 12:15:11 +03:00
Ilya Kirillov
8363c711e6
FIR IDE: fix lazy resolve for local declarations
2020-08-28 12:15:10 +03:00
Ilya Kirillov
9d237033ad
FIR IDE: minor, rename FirIdeModuleLibraryDependenciesSession to FirIdeLibrariesSession
2020-08-28 12:15:09 +03:00
Ilya Kirillov
8b782d5954
FIR IDE: fix session provider implementation as it only provides only 2 sessions
2020-08-28 12:15:07 +03:00
Ilya Kirillov
a07d3f2425
FIR IDE: minor: rename FirIdeJavaModuleBasedSession to FirIdeSourcesSession
2020-08-28 12:15:07 +03:00
Ilya Kirillov
f76b5bbf1b
FIR IDE: allow KtFirPackageScope to work without providers
2020-08-28 12:15:06 +03:00
Ilya Kirillov
f4c17dadb3
FIR IDE: remove unused FirIdeModuleLibraryDependenciesSymbolProvider
2020-08-28 12:15:05 +03:00
Ilya Kirillov
a156cca02a
FIR: make class FirObjectImportedCallableScope to be name aware
2020-08-28 12:15:04 +03:00
Ilya Kirillov
333213bbb9
Wizard: add descriptions for some settings
2020-08-28 11:46:55 +03:00
Ilya Kirillov
37b869ebc5
Wizard: add descriptions for settings
2020-08-28 11:46:55 +03:00
Dmitriy Novozhilov
09ed0c3e82
[FIR-TEST] Update testdata
2020-08-28 10:59:54 +03:00
Dmitriy Novozhilov
e7b5a88cbd
[FIR] Remove dependency on :compiler:frontend from :compiler:fir:resolve
2020-08-28 10:59:54 +03:00
Dmitriy Novozhilov
abeb42ca20
[FIR] Don't use ProjectExtensionDescriptor in FirExtensionRegistrar
2020-08-28 10:59:53 +03:00
Dmitriy Novozhilov
f09e17a5ae
[FIR] Remove unused import
2020-08-28 10:59:53 +03:00
Dmitriy Novozhilov
e405a02e8e
[FIR] Fix contract serialization
2020-08-28 10:59:53 +03:00
Dmitriy Novozhilov
eaf8af919d
[FIR] Use PersistentList instead of guava's ImmutableList in SupertypeResolution
2020-08-28 10:59:53 +03:00
Dmitriy Novozhilov
148e8fe76e
Move FlatSignature to :compiler:resolution.common
2020-08-28 10:59:53 +03:00
Dmitriy Novozhilov
64766e125c
Move common inference classes to :compiler:resolution.common
2020-08-28 10:59:53 +03:00
Dmitriy Novozhilov
068d21635e
[NI] Get rid of KotlinType usages in MutableConstraintStorage.kt
2020-08-28 10:59:52 +03:00
Dmitriy Novozhilov
af0df35623
[NI] Get rid of FE 1.0 types in ConstraintInjector
2020-08-28 10:59:52 +03:00
Dmitriy Novozhilov
ad039a28bd
[NI] Get rid of left FE 1.0 types in NewConstraintSystemImpl
2020-08-28 10:59:52 +03:00
Dmitriy Novozhilov
6914aba5c2
[NI] Commonize detection of @OnlyInputTypes in NewConstraintSystemImpl
2020-08-28 10:59:52 +03:00
Dmitriy Novozhilov
64f0ee21c1
Get rid of FE 1.0 classes usage in ConstraintIncorporator
2020-08-28 10:59:52 +03:00
Dmitriy Novozhilov
1050f7f066
Extract PostponedResolvedAtomMarker to separate file
2020-08-28 10:59:52 +03:00
Dmitriy Novozhilov
1cadabb099
Extract ResolutionCandidateApplicability to separate file
2020-08-28 10:59:52 +03:00
Dmitriy Novozhilov
775df6dfc3
[NI] Get rid of FE 1.0 type usages in ResultTypeResolver
2020-08-28 10:59:52 +03:00
Dmitriy Novozhilov
aae1681b76
[NI] Get rid of ResolvedAtom usage in ConstraintSystemCompletionContext
2020-08-28 10:59:51 +03:00
Dmitriy Novozhilov
11e8552861
[NI] Get rid of PostponedArgumentInputTypesResolver.Context
2020-08-28 10:59:51 +03:00
Dmitriy Novozhilov
970a2581a1
[NI] Extract PostponedArgumentsAnalyzerContext from PostponedArgumentsAnalyzer
2020-08-28 10:59:51 +03:00
Dmitriy Novozhilov
b15f847943
[NI] Extract common parts from KotlinConstraintSystemCompleter
2020-08-28 10:59:51 +03:00
Dmitriy Novozhilov
12fbb93871
[NI] Extract FE 1.0 specific part from NewCommonSuperTypeCalculator
2020-08-28 10:59:51 +03:00
Dmitriy Novozhilov
b21a0213df
[NI] Get rid of FE 1.0 types in AbstractTypeApproximator
2020-08-28 10:59:51 +03:00
Dmitriy Novozhilov
527c5a771d
[NI] Get rid of FE 1.0 types in AbstractTypeCheckerContextForConstraintSystem
2020-08-28 10:59:51 +03:00
Dmitriy Novozhilov
686c17a234
[NI] Rename NewConstraintSystem.diagnostics to errors
2020-08-28 10:59:50 +03:00
Dmitriy Novozhilov
59b2cb6393
[NI] Split KotlinCallDiagnostics and inference errors to different hierarchies
2020-08-28 10:59:50 +03:00
Dmitriy Novozhilov
fae21d4db3
Introduce frontend independent constraint positions
2020-08-28 10:59:50 +03:00
Dmitriy Novozhilov
e5e3d7cab1
Extract FE 1.0 related parts from NewConstraintSystem
2020-08-28 10:59:50 +03:00
Dmitriy Novozhilov
be1033a4a7
[FIR] Implement ConeTypeContext.createTypeWithAlternativeForIntersectionResult
2020-08-28 10:59:50 +03:00
Dmitriy Novozhilov
f247cc3165
[NI] Properly detecting suitability of candidate for builder inference
...
#KT-41430 Fixed
2020-08-28 10:34:18 +03:00
Sergey Bogolepov
b2d9e5be91
[kotlinx-metadata-klib] Drop dependency on descriptors
...
It's unneeded since all used declarations moved to
:core:compiler.common.
2020-08-28 12:33:46 +07:00
Simon Ogorodnik
7170a23f63
[FIR] Use coroutine intrinsics in tower resolver manager
...
To remove SafeContinuation overhead
2020-08-28 00:12:17 +03:00
Simon Ogorodnik
7cb5c0a6d8
[FIR] Cleanup hides members condition
2020-08-28 00:12:17 +03:00
Simon Ogorodnik
bf2e17b133
[FIR] Extract invoke processing from TowerLevelHandler
2020-08-28 00:12:17 +03:00
Simon Ogorodnik
96f100381a
Use proper manifest for kotlin-reflect in jps build
2020-08-28 00:12:17 +03:00
Simon Ogorodnik
34f5cfbf96
[FIR] Fix integer approximation on safe calls
2020-08-28 00:12:17 +03:00
Simon Ogorodnik
2a4e1a0b99
[FIR] Clarify testData for invokes
2020-08-28 00:12:16 +03:00
Alexander Udalov
74c6d2b951
Do not generate non-standard compareTo as primitive comparison in all backends
...
Previous changes related to this in the old JVM backend were in
582b1c5e66 and
0482f7e9c5 , but they did not affect the
`ProperIeee754Comparisons` mode which became the default in 1.4.0. As a
result, we had a regression here.
Since the `PRIMITIVE_NUMERIC_COMPARISON_INFO` slice is used in psi2ir to
determine how to generate the comparison, this fixes the regression both
in the old JVM backend, and in all IR backends.
#KT-41426 Fixed
2020-08-27 19:00:11 +02:00
Alexander Udalov
9d81e50128
IR: undeprecate IrUninitializedType
...
It's no longer a temporary hack, see the comment.
2020-08-27 18:02:04 +02:00
Dmitry Savvinov
5649cbc2e1
Wire KotlinTypeRefiner in areCallableDescriptorsEquivalent
...
See the issue for details
^KT-41218 Fixed
2020-08-27 18:50:42 +03:00
Dmitry Savvinov
421efaa565
Add test for overload resoultion ambiguity in HMPP
...
The behaviour is undesired, see the next commit for fix
^KT-41218 In Progress
2020-08-27 18:50:42 +03:00