Mikhail Glukhikh
90e6d5bea7
[FIR2IR] Read modality directly from IrFunction without using descriptor
2020-05-28 14:02:54 +03:00
Mikhail Glukhikh
724101cdd2
[IR] Get rid of minor symbol.descriptor usages
2020-05-28 14:02:53 +03:00
Mikhail Glukhikh
bf66929b5b
Extract IrClass.syntheticAccessorToSuperSuffix()
2020-05-28 14:02:53 +03:00
Mikhail Glukhikh
66da676b9e
[IR] Extract IrCallableReference.referencedName
2020-05-28 14:02:52 +03:00
Mikhail Glukhikh
79fd24f734
IrBuilder: get typeParametersCount from IR owner, not from descriptor
2020-05-28 14:02:52 +03:00
Ilya Goncharov
bf5810a349
[Gradle, JS] Fix text after proof read
...
#KT-35641 fixed
#KT-35611 fixed
2020-05-28 12:14:34 +03:00
Ilya Goncharov
85e5f8a736
[Gradle, JS] Deprecation of kotlin2js and kotlin-dce-js plugins
...
#KT-35641 fixed
#KT-35611 fixed
2020-05-28 12:13:28 +03:00
Dmitriy Dolovov
118c4b96cc
[Commonizer] Leaf source sets should depend on commonized "common" libs
...
^KMM-241
2020-05-28 12:12:40 +07:00
Dmitriy Dolovov
45260cee1e
[Commonizer] Update stats collector to report lifted up declarations
2020-05-28 12:12:40 +07:00
Dmitriy Dolovov
9f31931bb8
[Commonizer] Tests on lifting up identical const properties
...
^KMM-241
2020-05-28 12:12:39 +07:00
Dmitriy Dolovov
2ce1625989
[Commonizer] Lift up identical const properties
...
^KMM-241
2020-05-28 12:12:39 +07:00
Dmitriy Dolovov
a2edb9b547
Minor. Add "commonized" to project dictionary
2020-05-28 12:12:39 +07:00
Dmitriy Dolovov
36a29ce2dd
[Commonizer] Split different aspects of CIR
...
- Entity declaration
- Entity implementation
- Creation of new entities from descriptors
2020-05-28 12:12:29 +07:00
Dmitriy Dolovov
f26a3150ba
[Commonizer] Explicitly check if annotation constants are allowed
2020-05-28 12:11:11 +07:00
Dmitriy Dolovov
0827d2e8a3
[Commonizer] Fix Gradle module dependencies
2020-05-28 12:11:04 +07:00
Dmitriy Dolovov
b5245e2df6
[Commonizer] Avoid N^2 during merge of KLIB manifest dependencies
2020-05-28 12:10:58 +07:00
Dmitry Gridin
dbd10380ee
Code style settings: fix top border in UI
...
#KT-39180
2020-05-28 09:28:52 +07:00
Alexander Udalov
d115a1ff9c
Minor, fix some warnings such as "unused main argument" in generators
2020-05-27 23:29:21 +02:00
Alexander Udalov
4520e02bae
Support fun interfaces in kotlinx-metadata
...
#KT-37421 Fixed
2020-05-27 23:29:12 +02:00
Vladimir Dolzhenko
c805274d2e
Fix projectRoutines.kt compilation under 192/as36
2020-05-27 21:11:23 +02:00
Steven Schäfer
86cd039526
JVM IR: Use original descriptors for lambdas in JvmDeclarationOrigin
2020-05-27 20:21:42 +03:00
Nataliya Valtman
bd66e87440
KT-38250 The minimal supported Gradle version is 5.3 now
...
Gradle integration tests: use at least OLDEST_SUPPORTED version.
extract minSupportedGradleVersion for using both in check and tests
avoid using Usage.JAVA_API_JARS and JAVA_RUNTIME_JARS
2020-05-27 19:05:45 +03:00
Vyacheslav Gerasimov
af2dce0549
as41: Build against AS 4.1 C10
2020-05-27 18:46:57 +03:00
Vyacheslav Gerasimov
097b93cb2a
as41: Setup bunch config and compatibility dsl for AS 4.1
2020-05-27 18:46:57 +03:00
Vyacheslav Gerasimov
d6011103e2
Build: Remove bunch files with intellijUltimateEnabled=false for AS
2020-05-27 18:46:57 +03:00
Victor Petukhov
cadc5ad587
NI: remove deprecated TODO about doing investigation around producing unwanted Any? during incorporation (KT-39154)
2020-05-27 16:52:55 +03:00
Victor Petukhov
0bed055fca
NI: small refactoring around TypeCheckerContext and adding new possible constraints
2020-05-27 16:39:31 +03:00
Victor Petukhov
d7f52e8b67
NI: do explicit incorporation of type of fixing type variable into other constraints
...
^KT-37380 Fixed
2020-05-27 15:44:03 +03:00
Dmitry Gridin
3643b7b0ca
trailingComma: cleanup code
2020-05-27 11:24:12 +00:00
Dmitry Gridin
052d06be3f
TrailingCommaIntention: fix description
...
#KT-39180
2020-05-27 11:24:11 +00:00
Dmitry Gridin
bf6dffdf38
Introduce KotlinOtherSettingsPanel
...
#KT-39180 Fixed
#KT-38036 Fixed
2020-05-27 11:24:10 +00:00
Dmitry Gridin
880658135f
TrailingCommaIntention: should call notifyCodeStyleSettingsChanged()
2020-05-27 11:24:10 +00:00
Dmitry Gridin
dcebcc27b4
trailing comma: remove similar test data
2020-05-27 11:24:09 +00:00
Dmitry Gridin
c78fd4aaca
TrailingCommaInspection: should suggest fixes for call-site without warnings
...
#KT-39131 Fixed
2020-05-27 11:24:09 +00:00
Dmitry Gridin
10462c31d2
Join lines should remove useless trailing commas
...
#KT-39065 Fixed
2020-05-27 11:24:08 +00:00
Dmitry Gridin
e4a9679ec2
TrailingCommaVisitor: improve tree traversal
2020-05-27 11:24:07 +00:00
Dmitry Gridin
eab12a32ac
util: add missing constraints
2020-05-27 11:24:07 +00:00
Dmitry Gridin
262c9e6858
TrailingCommaPostFormatProcessor: should work with call-site in limited mode
...
* remove useless comma
* format call if comma exists
#KT-39079 Fixed
2020-05-27 11:24:06 +00:00
Dmitry Gridin
86827dfc92
TrailingCommaVisitor: adapt to TrailingCommaContext
...
#KT-39123 Fixed
2020-05-27 11:24:05 +00:00
Dmitry Gridin
6d7c03b6fd
Get rid of TrailingCommaHelper.needComma
2020-05-27 11:24:05 +00:00
Dmitry Gridin
0076f1ddd5
Introduce TrailingCommaContext
2020-05-27 11:24:04 +00:00
Dmitry Gridin
bb329c0415
Move TrailingComma* to separate module
2020-05-27 11:24:03 +00:00
Dmitry Gridin
64bcd32661
Introduce TrailingCommaState
2020-05-27 11:24:03 +00:00
Dmitry Gridin
fbddc6921f
KotlinCodeStyleSettings: add hidden settings for trailing comma on call site
...
#KT-39079
2020-05-27 11:24:02 +00:00
Ilya Chernikov
dec8eb7899
Revert renaming scripting plugin jar:
...
it conflicts with the compilation on daemon, so transistion should
be planned accordingly, and now it is not a good time for it.
The most important part of the renaming remains intact.
Partially reverts commit "Rename scripting libs and plugin - invert embeddable suffix"
2020-05-27 13:15:50 +02:00
Jinseong Jeon
18953c4717
FIR: transform resolved arrayOf call inside annotation to FirArrayOfCall
2020-05-27 11:38:34 +03:00
Jinseong Jeon
265d066878
FIR2IR: minor refactor to share IrVarargElement creation.
2020-05-27 11:38:32 +03:00
Jinseong Jeon
ff509bdcd3
FIR2IR: fix inverted types for array/element in arrayOf call.
2020-05-27 11:38:32 +03:00
Jinseong Jeon
b93868c30b
IR: migrate IrType utils about array element type.
2020-05-27 11:38:32 +03:00
Roman Artemev
49690fc620
[JS IR] Properly detect whether nested class is external
...
- Fix KT-38765
2020-05-27 10:49:57 +03:00