Mikhail Glukhikh
76cdf97b6d
[FIR2IR] Set facade class for backing field properly #KT-42384 Fixed
2020-10-05 12:06:52 +03:00
Yaroslav Chernyshev
ad7ad98738
[Gradle, Cocoapods] Custom packageName and extraOpts for pods cinterop
...
#KT-40999 Fixed
2020-10-05 11:59:30 +03:00
Georgy Bronnikov
b0b971cd0a
IR: Remove unused class
2020-10-05 11:02:12 +03:00
Georgy Bronnikov
80b7194799
IR: remove KotlinType usage from Ir.kt
2020-10-05 11:02:12 +03:00
Georgy Bronnikov
7afad9a91d
Use wrapped descriptors in IrReturnableBlock
2020-10-05 11:02:12 +03:00
Georgy Bronnikov
38ee182f51
IR: remove unused AbstractClosureAnnotator
2020-10-05 11:02:11 +03:00
Ilmir Usmanov
5e02a4efd7
Mark implicit receiver as captured if the function is expression
...
#KT-40260 Fixed
#KT-42280 Fixed
2020-10-05 09:36:54 +02:00
Dmitry Gridin
3078bd7b67
[formatter] line indent provider: fix indent for empty braces
...
^KT-42411 Fixed
2020-10-05 07:27:53 +00:00
Jinseong Jeon
380226cba0
FIR2IR: correct dispatch receiver inside inner class constructor
2020-10-05 09:12:19 +03:00
Jinseong Jeon
aa488eabc9
FIR2IR: distinguish constructor when picking return target
2020-10-05 09:09:39 +03:00
Ilya Chernikov
5ab822be36
Import scope of the imported script
...
#KT-34178
2020-10-02 18:53:31 +02:00
Ilya Chernikov
a71eab89e7
Remove unused code...
...
left after "Optimize scopes handling inside LexicalChainedScope"
refactoring commit.
2020-10-02 18:53:31 +02:00
Leonid Startsev
bdbf8d7980
Use correct class type when creating class references
...
(for e.g. PolymorphicSerializer)
Former class reference may had type arguments in it, which lead to bugs
in JS IR.
Fixes https://github.com/Kotlin/kotlinx.serialization/issues/1072
2020-10-02 19:11:25 +03:00
Leonid Startsev
d4bdb0eedc
Remove requirement on 'Serializable class must have single primary constructor'
...
#KT-38868 Fixed
#KT-41627 Fixed
Fixes https://github.com/Kotlin/kotlinx.serialization/issues/396
Fixes https://github.com/Kotlin/kotlinx.serialization/issues/1049
2020-10-02 19:11:25 +03:00
Ilya Goncharov
de8776ec1d
[Gradle, JS] Support for groovy dsl and Pair in kotlin dsl
...
[Gradle, JS] Use package json custom fields as inputs
^KT-42400 fixed
2020-10-02 18:42:33 +03:00
Victor Petukhov
6c1dc43d25
Add check already fixed variables in PostponedArgumentInputTypesResolver during adding constraints on them and using inside a functional type
...
^KT-42374 Fixed
2020-10-02 18:31:54 +03:00
Ilya Goncharov
96ccf03794
[Gradle, JS] Test: Add yarn resolution by version shortcut
...
^KT-42420 fixed
2020-10-02 18:14:53 +03:00
Ilya Goncharov
18ec9f10f9
[Gradle, JS] Add yarn resolution by version shortcut
...
^KT-42420 fixed
2020-10-02 18:14:42 +03:00
Dmitriy Dolovov
07f78f5ab8
[Commonizer] Drop "kind" from CirClassConstructor
...
... as it is always CallableMemberDescriptor.Kind.DECLARATION
for serialized constructor declarations
2020-10-02 16:47:29 +03:00
Vladimir Dolzhenko
abc4aef403
Store kotlin-script-cache-dependencies as project file attribute
...
To avoid extra root project scan we need to store already processed script cache dependencies
^KT-41640 Fixed
2020-10-02 13:23:43 +00:00
Dmitry Petrov
941a506885
Add test for inline classes implementing collection interfaces
...
KT-40186
2020-10-02 14:06:07 +03:00
Ilya Chernikov
2828f0a814
Fix restoring script configuration from file attributes
...
#KT-41622 fixed
2020-10-02 12:38:22 +02:00
Ilya Chernikov
d88e87aaac
Fix ScriptDefinition subtyping after earlier refactorings
...
#KT-41905 fixed
(may also fix other yet undetected or not analyzed problems with script
definitions)
2020-10-02 12:38:21 +02:00
Ilya Chernikov
adcfca3f98
Treat classpath extraction problems on script definition loading as warnings
...
#KT-44206 fixed
2020-10-02 12:38:21 +02:00
Vladimir Dolzhenko
741df42c18
Open build tool window on Gradle DSL errors
...
^EA-236697 Fixed
2020-10-02 10:08:49 +00:00
Dmitry Petrov
e018f2bd3e
JVM_IR more precise check for special bridges in super class
...
KT-41123
2020-10-02 12:51:49 +03:00
Mikhael Bogdanov
cf5bd38bec
JVM_IR. Support runtime string concatenation
2020-10-02 11:47:28 +02:00
Mikhael Bogdanov
1938f9459f
Support indy concatenation
2020-10-02 11:47:28 +02:00
Mikhael Bogdanov
942e1962d9
Properly process constants
2020-10-02 11:47:27 +02:00
Mikhael Bogdanov
8a1f7c5859
Add TODO
2020-10-02 11:47:27 +02:00
Mikhael Bogdanov
c329c22630
Add runtime string concat options. Some renaming
2020-10-02 11:47:27 +02:00
Mikhael Bogdanov
04012951c1
Basic invokedynamic string concatenation support
2020-10-02 11:47:27 +02:00
Mikhael Bogdanov
88892ec65d
Introduce StringAppendGenerator
2020-10-02 11:47:27 +02:00
Mikhael Bogdanov
bf35818438
Minor. Reformat
2020-10-02 11:47:27 +02:00
Mark Punzalan
b58d75440b
[FIR] Fix tests for vararg execution order after rebase.
2020-10-02 12:08:07 +03:00
Mark Punzalan
e175e87225
[FIR] Change type of argumentMapping properties and parameters from Map
...
to LinkedHashMap, to signify that the order is important and we don't
assume that mutableMapOf() will always return a LinkedHashMap.
2020-10-02 12:08:06 +03:00
Mark Punzalan
6b83f2d70e
[FIR] Remove Candidate.oldToNewArgumentMapping and use
...
Candidate.argumentMapping instead of the Fir*Call's argumentList to
remap vararg arguments to a FirVarargArgumentExpression.
The argumentList was used to preserve the order, but we can rely on
Candidate.argumentMapping to have its keys in order.
2020-10-02 12:08:05 +03:00
Mark Punzalan
a2a4d94834
[FIR] Capture array and indices for postfix/prefix increment/decrement
...
of array element (including overloaded indexed access operators, e.g.,
`a[b, c]++`).
This prevents double-evaluation of the array and indices expressions,
which may have side-effects.
2020-10-02 12:08:03 +03:00
Mark Punzalan
eb631bc429
[FIR] Keep vararg argument order in resolved calls (KT-17691).
2020-10-02 12:08:02 +03:00
Mark Punzalan
f6ce2d893c
[FIR] Handle varargs in overloaded indexed access operator.
2020-10-02 12:08:01 +03:00
Yan Zhulanow
c471a7735e
Keep all variants of ExtensionPointImpl.registerExtension() in the pro-guarded compiler (KT-42103)
2020-10-02 17:50:23 +09:00
Toshiaki Kameyama
bcbb90dd81
"Receiver parameter is never used" inspection: don't report it when anonymous function is called with receiver
...
#KT-41246 Fixed
2020-10-02 13:32:31 +07:00
Mikhail Glukhikh
112e07814e
[FIR] Mute test after rebase
2020-10-02 08:58:01 +03:00
Mikhail Glukhikh
cc88374fd7
[FIR] Add compile Kotlin against Kotlin test group
2020-10-02 08:57:55 +03:00
Mikhail Glukhikh
582f8fe287
FIR: recursive transform annotation if it has annotation as argument
...
#KT-42344 Fixed
2020-10-02 08:57:49 +03:00
Mikhail Glukhikh
2fd752f8f6
IR interpreter: fix calculation of constant Java fields
...
#KT-42117 Fixed
2020-10-02 08:57:44 +03:00
Mikhail Glukhikh
44ebec05bb
FIR Java: support read of field constant initializers
2020-10-02 08:57:39 +03:00
Ilya Gorbunov
fafb4a7914
Use regex for case-insensitive String.replace
...
KT-41799
2020-10-02 00:29:26 +03:00
Francesco Vasco
4a0109cf44
Use StringBuilder in String.replace (2x faster)
...
KT-41799
2020-10-02 00:28:53 +03:00
Vladimir Ilmov
51a37bffff
Incorrect package name for multipart classes
2020-10-01 23:06:17 +03:00