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
Dmitry Savvinov
68d931969d
Minor: explicitly opt-in for diagnostics messages in MultiplatformAnalysisTests
2020-08-27 18:50:42 +03:00
Dmitriy Novozhilov
9cde42e2bc
[NI] Fix shouldRunCompletion for builder inference session
...
#KT-41308 Fixed
#KT-41363
2020-08-27 16:51:12 +03:00
Dmitriy Novozhilov
e98cbf81cf
[NI] Don't always complete builder inference lambda in FULL mode
...
#KT-41164 Fixed
2020-08-27 16:51:11 +03:00
vldf
6a15e0410f
[FIR] Fix CLI tests to prevent non-relevant errors from appearing
2020-08-27 16:07:04 +03:00
vldf
6c2ece9a6e
Rename: FirSourceElement.getChildren() -> getChild() + minor fixes
2020-08-27 16:07:04 +03:00
vldf
bf363e8f1a
[FIR] Update/add extended checker tests
2020-08-27 16:07:04 +03:00
Oleg Ivanov
acbb67f851
[FIR] Fix collectDataForNode backward traverse
2020-08-27 16:07:03 +03:00
vldf
f9c7cce11d
[FIR] Add some helper functions for checkers
2020-08-27 16:07:03 +03:00
vldf
96f24a43be
[FIR] Introduce unused variable extended checker
2020-08-27 16:07:03 +03:00
vldf
e718f60833
[FIR] Refactoring extended checkers
2020-08-27 16:07:03 +03:00
vldf
aefb7dc10f
[FIR] Add checkerContext parameter to ControlFlowAnalyserCheckers
2020-08-27 16:07:03 +03:00
vldf
14eaa113e0
[FIR] Add new errors for extended checkers (around unused variable)
2020-08-27 16:07:03 +03:00
vldf
58c5d3a6ca
[FIR] Fix destructuring declaration creation via light tree
2020-08-27 16:07:03 +03:00
vldf
3428a5434b
[FIR] Add methods to access child/children of FirSourceElement
2020-08-27 16:07:02 +03:00
vldf
5e0dc53295
[FIR] Refactor CanBeValChecker
2020-08-27 16:07:02 +03:00
Andrei Klunnyi
5cf76aa950
KT-41425 Project can not be launched with Gradle runner
...
93a82060 introduced support of "delegate to Gradle" for Gradle-Kotlin.
This commit fixes an issue known as "Could not get unknown property
'sourceSets' for root project".
2020-08-27 14:50:40 +02:00
Nikolay Krasko
f57f920dc0
Mark IdeReplExecutionTest.testOnePlusOne as flaky
...
Was previously muted on TC.
2020-08-27 14:08:48 +03:00
Nikolay Krasko
866666f3ff
Update test data for MultiModuleHighlightingTest.testLanguageVersionsViaFacets
...
Remove `Reference is not resolved to anything` markers
2020-08-27 14:08:48 +03:00
Nikolay Krasko
4b937f0929
Mute stable CompilerDaemonTest.testParallelDaemonStart
...
It was previously muted on TC.
2020-08-27 14:08:48 +03:00
Dmitry Gridin
0c0b394cc2
[formatter] fix performance issue
...
^KT-41314 Fixed
2020-08-27 11:04:34 +00:00
Ilya Goncharov
9818321b46
[JS, Wizard] Use react template in full stack
...
^KT-41417 fixed
2020-08-27 13:35:17 +03:00
Ilya Goncharov
cd0bdc190b
[JS, Wizard] Use IR in gradle.properties and otherwise use as a param
...
^KT-41418 fixed
2020-08-27 13:34:46 +03:00