pyos
7ce5556de3
JVM_IR: try to fix SyntheticAccessorLowering.isAccessible again
...
The condition on the relationship between the current class and the type
of the receiver for protected members was the opposite of what the JVMS
says, and yet somehow mostly worked?
#KT-48331 Fixed
#KT-20542 Fixed
2021-09-03 15:54:16 +03:00
Alexander Udalov
9a472c418f
JVM IR: generate private @JvmStatic functions as in old backend
...
#KT-46181 Fixed
2021-09-03 14:45:28 +02:00
Mikhail Glukhikh
ed035d99ab
Migrate -Xopt-in to -opt-in in Gradle Kotlin scripts
2021-09-03 15:40:47 +03:00
Mikhail Glukhikh
b8c3b34886
FE 1.0: don't spread OptIn markers to children #KT-48570 Fixed
2021-09-03 15:40:45 +03:00
Mikhail Glukhikh
17590b7114
Disable OptInOnOverrideFordidden feature #KT-48535 Fixed
2021-09-03 15:40:44 +03:00
Dmitriy Dolovov
df208dc060
[Native][tests] Fix failing 'interop_objc_smoke_noopgc' test
2021-09-03 14:53:10 +03:00
Ilya Goncharov
ee1d2ecb4b
[Gradle, JS] Delete recursively tmp directory in up-to-date case
2021-09-03 14:10:58 +03:00
Pavel Punegov
5bc6d937e8
[Native][Tests] Ignore test in Native backend
...
This test fail in the new MM
2021-09-03 10:52:10 +00:00
Pavel Punegov
7e4e0ffdaa
[Native][Tests] Don't run tests that require diagnostic options
2021-09-03 10:52:10 +00:00
Pavel Punegov
50bd5da639
[Native][Tests] Add one more option to exclude
2021-09-03 10:52:10 +00:00
Pavel Punegov
6b49597bb7
[Native][Tests] Additional language directive
2021-09-03 10:52:09 +00:00
Pavel Punegov
bc0d7efbbd
[native][test] Fix main module select
2021-09-03 10:52:09 +00:00
Pavel Punegov
b4dcf45ffa
[Native][Tests] Improve reporting for external codegen tests
...
Add abort() method that adds tests that failed to compile
to statistics with Error status.
2021-09-03 10:52:09 +00:00
Svyatoslav Scherbina
3106ad9e30
kotlin-native/NEW_MM.md: use kotlin/temporary repo instead of kotlin/dev
2021-09-03 10:48:24 +00:00
Pavel Punegov
39b07d23f4
[Native][Tools] Add input directory in the bundles repack script
2021-09-03 10:25:36 +00:00
Dmitry Petrov
b669de1663
JVM_IR generate range-based loop closer to Java counter loop
...
KT-48435 KT-48507
2021-09-03 10:38:20 +03:00
Elena Lepilkina
9ed08438d5
[K/N][perf] Windows bat script for getting parameter value
2021-09-03 07:35:16 +00:00
Elena Lepilkina
a3158841fb
[K/N][perf] Added script to get and redefine compiler args on TC
2021-09-03 07:35:15 +00:00
Ilya Matveev
ce377e4a33
[K/N][tests] Enable dynamic tests for targets other than hosts
2021-09-03 06:11:10 +00:00
Ilya Matveev
5e08b18e4b
[K/N][tests] Support dynamic lib tests for ssh executors
2021-09-03 06:11:10 +00:00
Sergey.Shanshin
36484abb50
Fix call of serializer for parametrized sealed and abstract classes
...
Fixes Kotlin/kotlinx.serialization#1646
2021-09-03 06:03:39 +00:00
Alexander Udalov
8cb9a5ff67
Slightly cleanup coroutine codegen and utilities
...
Reformat, fix inspections, remove some minor leftovers after dropping
experimentail coroutines.
2021-09-02 22:11:22 +02:00
Alexander Udalov
0a10cec579
Remove obsolete -X compiler arguments for JVM backend
...
-Xno-exception-on-explicit-equals-for-boxed-null
-Xstrict-java-nullability-assertions
-Xuse-old-spilled-var-type-analysis
-Xpolymorphic-signature
2021-09-02 22:11:22 +02:00
Alexander Udalov
1864716c83
Remove -Xnormalize-constructor-calls
...
Constructor call normalization is enabled by default since 1.3.
2021-09-02 22:11:22 +02:00
Roman Golyshev
cc3ad73436
[FIR IDE] Handle callable references better in KtFirImportOptimizer
2021-09-02 18:10:16 +00:00
Roman Golyshev
911bfcf150
[FIR IDE] Add basic compiler-side Import Optimizer tests
...
These tests are not complete, but it is intentional - it is just a basic
setup, so when the need arise, the tests can be added right away
2021-09-02 18:10:16 +00:00
Roman Golyshev
d284ed1c79
[FIR IDE] Commonize FirCallableSymbol.computeImportableName function
2021-09-02 18:10:16 +00:00
Roman Golyshev
0dfddb8bf2
[FIR IDE] Refactor KtFirReferenceShortener
2021-09-02 18:10:15 +00:00
Roman Golyshev
52e012712d
[FIR IDE] Add a little KDoc to KtImportOptimizerMixIn::analyzeImports
2021-09-02 18:10:15 +00:00
Roman Golyshev
03f29de5ef
[FIR IDE] Add token validity assertion to KtFirImportOptimizer
2021-09-02 18:10:14 +00:00
Roman Golyshev
81768bdaef
[FIR IDE] Mark imports from the same package as unused
2021-09-02 18:10:14 +00:00
Roman Golyshev
824acc2c4f
[FIR IDE] Improve imports analysis for import aliases
...
Also make it work more correctly with invoke operator functions
2021-09-02 18:10:14 +00:00
Roman Golyshev
989cd487a6
[FIR IDE] Improve imports analysis for complex type qualifiers
2021-09-02 18:10:13 +00:00
Roman Golyshev
43e266273c
[FIR IDE] Implement basic algorithm for KtFirImportOptimizer
2021-09-02 18:10:13 +00:00
Roman Golyshev
cc88d92d05
[FIR IDE] Add KtImportOptimizer mixin and FIR implementation
...
Does nothing for now
2021-09-02 18:10:12 +00:00
Dmitriy Novozhilov
d46e2dd749
Fix OVERRIDE_DEPRECATION warnings in project code
2021-09-02 15:04:07 +03:00
Dmitriy Novozhilov
69c3831865
Rename Deprecation to DeprecationInfo
2021-09-02 15:04:07 +03:00
Dmitriy Novozhilov
5d31f0f032
[FIR-IDE] Avoid clashes between diagnostic and it's parameter with same short names
2021-09-02 15:04:07 +03:00
Dmitriy Novozhilov
88913aa2a3
[FIR] Report warning on non-deprecated overrides of deprecated members
...
^KT-47902
2021-09-02 15:04:07 +03:00
Dmitriy Novozhilov
ef9ad5af51
[FE 1.0] Report warning on non-deprecated overrides of deprecated members
...
Also don't propagate deprecation status to overrides after 1.7
^KT-47902 Fixed
2021-09-02 15:04:07 +03:00
Dmitriy Novozhilov
762d225bd7
Unify Deprecation classes from :core:compiler.common and :compiler:frontend modules
2021-09-02 15:04:06 +03:00
Sergej Jaskiewicz
be999564b1
[JS IR] Export nested objects
...
Companion objects are exported as ParentClass.Companion.
Companion object's members are not exposed to its parent class —
one must reference the companion object explicitly if they want to
access its members.
#KT-43783 Fixed
2021-09-02 14:40:15 +03:00
nataliya.valtman
862f8cdad8
KT-48264 Create dir before kotlin-build-report publish
2021-09-02 13:49:57 +03:00
Dmitriy Novozhilov
8117cd4c24
Postpone ApproximateIntegerLiteralTypesInReceiverPosition feature till 1.7
...
^KT-38895
2021-09-02 13:34:29 +03:00
Dmitriy Novozhilov
6a8f36e313
Add spec testdata to test helper plugin configuration
2021-09-02 13:34:28 +03:00
Dmitriy Novozhilov
1e0878cde0
[FE 1.0] Postpone SafeCallsAreAlwaysNullable till 1.7
...
^KT-46860 Fixed
2021-09-02 13:34:27 +03:00
Dmitriy Novozhilov
5a5d25d350
[FE 1.0] Postpone ProhibitSimplificationOfNonTrivialConstBooleanExpressions till 1.7
...
^KT-39883
2021-09-02 13:34:25 +03:00
sebastian.sellmair
97d71dc160
[Gradle] Ensure enableGranularSourceSetsMetadata property being populated
...
Previously it was only populated when KGP was applied to the root project.
CLI compilation would still work, since it also checks for the
new hmpp properties, whereas the IDE import is still 'just' checking
on the old property (while defining its own defaults)
^KT-48513 Verification Pending
2021-09-02 09:27:49 +00:00
Mikhail Glukhikh
9c8b8f053e
FIR: handle named argument properly during annotation serialization
2021-09-02 11:12:48 +03:00
Sergey Bogolepov
9620279201
[K/N] Fix KT-48552
2021-09-02 06:34:39 +00:00