Vasily Levchenko
be08e29cb3
[.idea][artifacts] added kotlinx_cli_jvm
2021-02-26 12:51:53 +01:00
Vasily Levchenko
c9e0928038
[performance] enable project performance
...
(cherry picked from commit 947c3bd92b2ee8d252619cf987427a7e195191cb)
2021-02-26 12:51:53 +01:00
Vasily Levchenko
f2524dbb8d
[gradle][properties] default kotlin.native.home
2021-02-26 12:51:52 +01:00
Vasily Levchenko
ed749f9b4a
[.gitignore] add kotlin-native output folders
2021-02-26 12:51:52 +01:00
Vasily Levchenko
8eff15c8c2
[.idea][misc.xml] update after kotlin-native folder appear
...
- it isn't affected with kotlin.native.enable
2021-02-26 12:51:52 +01:00
Vasily Levchenko
fe896619d9
[editorconfig] added for k/n
2021-02-26 12:51:52 +01:00
Aleksei.Cherepanov
710a6fb7f3
[JPS] Fix import for Kotlin Native
...
(cherry picked from commit 049045e5fefba86221273f64b7fd0b3c5d1792d2)
2021-02-26 12:51:52 +01:00
Vasily Levchenko
f051119c4b
[tests][kotlin-gradle-plugin] workaround for old k/n artifacts
2021-02-26 12:51:52 +01:00
Vasily Levchenko
5c80dbfd4b
[kotlin-gradle-plugin] workaround for old k/n artifacts
2021-02-26 12:51:52 +01:00
Pavel Punegov
7ad656ea7f
Fix cyclic dependency in run task configuration.
2021-02-26 12:51:51 +01:00
Nikolay Krasko
c4178daf48
Remove Bintray kotlin-dev usage from kotlin-native
...
(cherry picked from commit ec4ac192a822949af55264157cf6f03d0c4f0c20)
2021-02-26 12:51:51 +01:00
Nikolay Krasko
29e1390720
Remove Bintray ktor usage from kotlin-native
...
(cherry picked from commit 8a5987d82191da66b31ef10363cebc1a784e31b3)
2021-02-26 12:51:51 +01:00
Nikolay Krasko
f1aa75ffed
Remove @author tag to conform with the repository policy
...
(cherry picked from commit d99a9c057712b3318350a9b4cd97f1e9ab63d13f)
2021-02-26 12:51:51 +01:00
Nikolay Krasko
4f3fa9f9ee
Ignore kotlin-native during licences check in Kotlin
...
(cherry picked from commit b1c740cac791ee571dec887956de4b56c478b47a)
2021-02-26 12:51:51 +01:00
Vasily Levchenko
905c0c3dd3
[build] version of kotlin native stored in resouces
2021-02-26 12:51:51 +01:00
Vasily Levchenko
bdc87edfd0
[build] cache repository fix
2021-02-26 12:51:51 +01:00
Vasily Levchenko
f27e3b8c26
[build][conformance][test] ignore kotlin-native/runtime licence check
2021-02-26 12:51:50 +01:00
Vasily Levchenko
fe2799273d
[build] drop dead repositories
2021-02-26 12:51:50 +01:00
Vasily Levchenko
dac76e606d
[build][conformance][test] ignore not related to build repositories
2021-02-26 12:51:50 +01:00
Ilya Goncharov
80a0545ac2
[Gradle, JS] Fix ProcessedFilesCache.kt according to configuration cache
2021-02-26 14:32:51 +03:00
Mikhail Glukhikh
b138b166e3
FIR: use EQUALS & TO_STRING from OperatorNameConventions
2021-02-26 13:50:26 +03:00
Jinseong Jeon
e6cfd5d06f
FIR: move data class synthetic members' names
2021-02-26 13:50:25 +03:00
Jinseong Jeon
856838f82c
FIR: refactor delegate unwrapping
...
Not implemented override checker will use those to pretend to make
delegeted members (before checking similarly pretended fake overrides)
2021-02-26 13:50:24 +03:00
Alexander Udalov
dbce28053c
IR: move frontend-dependent code into implementations in psi2ir
2021-02-26 11:49:28 +01:00
Alexander Udalov
2566aa9db2
IR: remove TranslationPluginContext.bindingContext
...
This removes another dependency of 'ir.tree' on 'frontend', and among
other things, makes it possible to implement TranslationPluginContext
for FIR in the future.
2021-02-26 11:49:28 +01:00
Alexander Udalov
e00660a789
Extract control flow analysis to separate module
2021-02-26 11:49:28 +01:00
Alexander Likhachev
ef890464d8
[Gradle] Rework KotlinTestReport to be compatible with configuration cache
...
Minimal supported version is effectively changed to 6.1 due to usage of Gradle build services
Relates to #KT-43605
2021-02-26 13:49:01 +03:00
Alexander Likhachev
3e09bb3d3f
[Gradle] Bump gradle-download-task version to 4.1.1 to support configuration cache
...
Relates to #KT-44611
2021-02-26 13:49:00 +03:00
Alexander Likhachev
67632a495b
[Gradle, MPP] Rework build finished listener into build service
...
Registering build finished listeners is not supported by configuration cache
Relates to #KT-44611
#KT-44900 Fixed
2021-02-26 13:48:59 +03:00
Dmitry Savvinov
42345b9c49
Minor: use more clear and specific naming for LazyClassContext.typeChecker (relevant for MPP with type refinement)
2021-02-26 12:37:02 +03:00
Dmitry Savvinov
168c692a27
Use overriding util with proper typechecker for overriding in LazyClassMemberScope
...
Note that LazyClassMemberScope actually has a separate field for
KotlinTypeRefiner, and it might be actually different from the one in
c.kotlinTypeChecker.
The one in c.kotlinTypeChecker is the refiner of *owner* module, i.e. a
module in which the class has been declared. If we have a class Foo :
Expect in common, then the refiner will be from common, and thus it
won't be able to refine supertypes to their platform-dependent values.
The one passed in constructor is actual refiner of dependant-module.
Say, if we're looking at Foo from the point of view of jvmMain, then
we'll create a (view-dependent) LCMS for that, and it will contain
refiner for jvmMain.
It is important to use proper refiner, otherwise the idea of having
"module-dependent view" breaks, and we might suddenly mismatch some
overrides with expect-classes in their signatures.
^KT-44898 Fixed
2021-02-26 12:37:01 +03:00
Dmitry Savvinov
9616eb94fd
Add test on KT-44898 (MPP + type refinement + complex inheritance)
...
The current behaviour is undesired (ABSTRACT_MEMEBER_NOT_IMPLEMENTED
reported on class Concrete), will be fixed in the next commit
2021-02-26 12:37:01 +03:00
Dmitry Savvinov
e3d4c440b5
Minor: rename createMemberScope -> createScopesHolderForClass
2021-02-26 12:37:01 +03:00
Mikhail Glukhikh
2bf3abcb29
FIR: cache accessor symbols in JavaClassUseSiteMemberScope
2021-02-26 12:27:07 +03:00
Mikhail Glukhikh
750a39a053
JavaClassUseSiteMemberScope: optimize createOverridePropertyIfExists
...
Avoid calculating getter & setter twice
2021-02-26 12:27:01 +03:00
Aleksei.Cherepanov
07d11508a7
Generate JvmMultifileClass tests for Gradle
2021-02-26 11:31:17 +03:00
Denis.Zharkov
e6b61ecc22
Fix incorrectly generated tests
2021-02-26 10:46:54 +03:00
Mikhael Bogdanov
82f1b8159c
Remove deprecated "-XX:-FailOverToOldVerifier" as it breaks JDK on TC
2021-02-26 07:48:20 +01:00
Tianyu Geng
2484729bd7
FIR IDE: fix redundant
...
Apparently there is a race condition when collecting the `fromPhase`.
This causes the same resolver to run multiple times on FIR.
^KT-45121 Fixed
2021-02-25 23:31:37 +01:00
Alexander Udalov
acc2256de9
IR: support smart cast values in RangeContainsLowering
...
#KT-44878 Fixed
2021-02-25 21:00:09 +01:00
Alexander Udalov
820762ca16
IR: add isUnsignedType/getUnsignedType
2021-02-25 21:00:09 +01:00
Alexander Udalov
0ebdf7c3c4
IR: add getPrimitiveType, optimize some usages of isInt/isByte/...
2021-02-25 21:00:09 +01:00
Alexander Udalov
17ee10a0d8
Minor, fix compilation warning in DurationUnit.kt
2021-02-25 21:00:09 +01:00
Victor Petukhov
94e6ec7dfd
Fix test after 27846f4532
2021-02-25 22:29:45 +03:00
Yahor Berdnikau
6b56b7cca6
Fix tests are using slightly different test file names from actual.
2021-02-25 20:11:43 +01:00
Denis.Zharkov
4fffe7b9c8
FIR: Fix VerifyError caused by private delegates
...
^KT-45048 Fixed
2021-02-25 19:30:15 +03:00
Denis.Zharkov
ace66b7179
FIR: Prettify visibility resolution for private constructors
2021-02-25 19:30:15 +03:00
Denis.Zharkov
9d7e40ad99
Minor. Reformat FirStatusResolveTransformer.kt
2021-02-25 19:30:15 +03:00
Ilmir Usmanov
2523ea1ef4
Do not add @JvmInline annotation on JS and Native
2021-02-25 16:07:00 +01:00
Ilmir Usmanov
2df049fc03
Minor. Remove outdated test and update maven test
2021-02-25 16:06:58 +01:00