Denis Zharkov
90d82e201e
FIR: Get rid of lateinit property in CandidateFactoriesAndCollectors
2020-04-02 12:10:50 +03:00
Denis Zharkov
80c64207f7
FIR: Rename CallResolutionContext -> CandidateFactoriesAndCollectors
2020-04-02 12:10:50 +03:00
Denis Zharkov
4053978609
FIR: Refactor FirTowerResolverSession and LevelHandler
...
- Move enqueuing invoke lookups to FirTowerResolverSession
- Simplify state for LevelHandler (it almost could be a plain function)
2020-04-02 12:10:50 +03:00
Denis Zharkov
31c6cf3106
FIR: Clean up code in LevelHandler
2020-04-02 12:10:50 +03:00
Denis Zharkov
063795f280
FIR: Minor. Move createExplicitReceiverForInvoke out of the class
2020-04-02 12:10:50 +03:00
Denis Zharkov
3e32f21e7e
FIR: Replace extension receiver with explicit parameter
...
It will help to make code more explicit in the following commits
2020-04-02 12:10:50 +03:00
Denis Zharkov
b97ce3d6ef
FIR: Extract function in TowerLevelHandler
2020-04-02 12:10:50 +03:00
Denis Zharkov
36d3abad51
FIR: Get rid of relation from LevelHandler to FirTowerResolver
2020-04-02 12:10:50 +03:00
Denis Zharkov
123bcdb0ad
FIR: Move some responsibilities of TowerResolveManager to FirTowerResolverSession
2020-04-02 12:10:50 +03:00
Denis Zharkov
a39dbe8eec
FIR: Declare manager as a property inside FirTowerResolverSession
2020-04-02 12:10:50 +03:00
Denis Zharkov
f8227e4cb9
FIR: Extract FirTowerResolverSession
...
The idea of that class is separating lots of data from a component
to a short-living instance
2020-04-02 12:10:50 +03:00
Denis Zharkov
60cbc5fa39
FIR: Extract LevelHandler and CallResolutionContext from TowerManager
2020-04-02 12:10:50 +03:00
Denis Zharkov
08ee76b103
FIR: Introduce FirTowerResolver.implicitReceiversUsableAsValues
2020-04-02 12:10:50 +03:00
Denis Zharkov
e936c03839
FIR: Extract processScopeForExplicitReceiver
2020-04-02 12:10:50 +03:00
Denis Zharkov
9cd8432c92
FIR: Minor. Formatting
2020-04-02 12:10:50 +03:00
Denis Zharkov
2e631052f6
FIR: Drop redundant main function
2020-04-02 12:10:50 +03:00
Denis Zharkov
5c61211e65
FIR: Extract LevelHandler.processInvokeReceiversCandidates
2020-04-02 12:10:50 +03:00
Denis Zharkov
a5c3e4bfd4
FIR: Extract some parts from FirTowerResolver and cleanup
2020-04-02 12:10:50 +03:00
Denis Zharkov
7843f7d3f0
FIR: Minor. Reuse processExtensionsThatHideMembers
2020-04-02 12:10:50 +03:00
Denis Zharkov
aeb3354a5b
FIR: Extract ReceiverValue.toMemberScopeTowerLevel
2020-04-02 12:10:50 +03:00
Denis Zharkov
e2ca1f2af4
FIR: Extract FirScope.toScopeTowerLevel
2020-04-02 12:10:50 +03:00
Denis Zharkov
bea9d20557
FIR: Split FirTowerResolver.runResolverForNoReceiver
2020-04-02 12:10:50 +03:00
Ilya Goncharov
07d80aa11c
[Gradle, JS] KT-36784 Enable composite builds only for IR compiler
...
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-04-02 11:08:57 +03:00
Ilya Goncharov
43efac69a9
[Gradle, JS] KT-36784 Move test only to IR
...
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-04-02 11:08:57 +03:00
Ilya Goncharov
c11c3dffe7
[Gradle, JS] KT-36784 Provide args for kotlinNpmInstall
...
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-04-02 11:08:56 +03:00
Ilya Goncharov
fe40056abe
[Gradle, JS] KT-36784 Remove hasNodeModulesDependentTasks
...
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-04-02 11:08:56 +03:00
Ilya Goncharov
9806ac992e
[Gradle, JS] KT-36784 Fix tests on composite
...
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-04-02 11:08:56 +03:00
Ilya Goncharov
a27ae5dd7b
[Gradle, JS] KT-36784 Fix absolute paths on relative in package.json
...
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-04-02 11:08:56 +03:00
Mikhail Glukhikh
ffc22f4190
[FIR] Unmute two passing black box tests
2020-04-02 10:28:07 +03:00
Ilya Gorbunov
055a1921cc
Update kotlin-build-gradle-plugin to 0.0.17
2020-04-02 05:21:10 +03:00
Ilya Gorbunov
8bc8a8cf79
Publish kotlin-build-gradle-plugin sources
...
#KT-37775 Fixed
2020-04-02 05:21:10 +03:00
Ilya Gorbunov
fde33252cf
Present boolean property without value is considered true
...
For example, -Pbootstrap.local or -Pkotlin.build.proguard
2020-04-02 05:21:10 +03:00
Ilya Gorbunov
1727fcf1a8
Make some build properties extensions in buildSrc
...
They are used only in main build's .gradle.kts files, so it is more
flexible to define them as extensions - no need to republish
kotlin-build-gradle-plugin when another such property is to be added.
2020-04-02 05:21:10 +03:00
Ilya Gorbunov
c046f431d9
Rename KotlinBuildProperties.get private function to getOrNull
...
Before that Groovy tried to find 'get' when dispatching property access,
succeeded in that, and thus any mistyped missing property
would have resulted in null value instead of exception.
2020-04-02 05:21:10 +03:00
Ilya Gorbunov
2e20fab05f
Add bootstrap.teamcity.url parameter to specify bootstrap teamcity server
2020-04-02 05:21:10 +03:00
Ilya Gorbunov
453e91daf2
Advance bootstrap to 1.4.0-dev-5258
2020-04-02 04:43:13 +03:00
Ilya Gorbunov
01b463993b
Use SinceKotlin in primitive companion objects for documentation purpose
...
Also suppress "div by zero" warnings in JS primitive companions.
2020-04-02 04:43:00 +03:00
Ilya Gorbunov
a225842f9b
Test that known Floats can fit in FloatArray without over/underflow
...
But some precision loss can still happen in JS.
Relates to KT-24975
2020-04-02 04:04:04 +03:00
Ilya Gorbunov
d88d2cb058
Test new Double/Float constants
...
Split test expectations based on actual support of enforced Float range
KT-29182, KT-13887
2020-04-02 04:04:04 +03:00
Ilya Kirillov
3e6ab65ccc
Wizard: place kotlin.code.style to gradle.properties file instead of local.properties
...
#KT-37923 fixed
2020-04-02 01:25:38 +03:00
Ilya Kirillov
db2c2cc8d9
Wizard: fix generated project path & name
...
#KT-37927 fixed
2020-04-02 01:25:38 +03:00
Ilya Kirillov
00e5e96fe3
Wizard: fix write action scope in IdeaJpsWizardService
...
#KT-37925 fixed
2020-04-02 01:25:37 +03:00
Dmitry Petrov
24b8495e00
KT-30419 Box inline classes in return types of covariant overrides
...
Use boxed version of an inline class in return type position for
covariant and generic-specialized overrides.
Also fixes KT-35234 and KT-31585.
2020-04-01 22:59:14 +03:00
Alexander Udalov
e44f12d7b0
Minor, unmute passing FIR black box tests
2020-04-01 19:33:45 +02:00
Vladimir Dolzhenko
10df7ee31a
Get rid of getInstanceIfNotDisposed
...
Relates to #EA-216005
2020-04-01 17:17:26 +00:00
Ilya Gorbunov
55a98fc5df
Include kotlin-test-annotations-common into core libs list
...
Otherwise it doesn't get published when executing
coreLibsInstall/coreLibsPublish tasks.
2020-04-01 19:28:27 +03:00
Dmitriy Dolovov
5e1e9876fd
IDE: Don't use direct refs on IdePlatformKindResolution EP instances
2020-04-01 23:10:55 +07:00
Dmitriy Dolovov
a2e2213d31
Keep KonanTarget.predefinedTargets as Map<String, KonanTarget>
2020-04-01 23:10:47 +07:00
Dmitriy Dolovov
132464fa4f
Minor. Rename KotlinLibrary.readSafe() -> KotlinLibrary.safeRead()
2020-04-01 23:10:37 +07:00
Nikolay Krasko
b199403c57
201: Revert adding RUN_SLOW_ASSERTIONS enabling in KtUsefulTestCase
2020-04-01 18:03:41 +03:00