Vladimir Dolzhenko
eb545ad0f2
Preparation for bunching RenameKotlin*Processor.kt
...
Relates to #KT-37801
2020-04-08 23:53:35 +02:00
Ilya Kirillov
2a21b18c1c
Wizard: fix texts
2020-04-08 21:42:09 +03:00
Alexander Udalov
587cce4a23
Avoid asserts in CodegenAnnotatingVisitor.isAdaptedCallableReference
...
In light classes mode, binding context may not have all the information
and this can fail, as for example was happening in the test
`diagnostics/tests/regressions/ea76264.kt`.
2020-04-08 19:21:30 +02:00
Alexander Udalov
9f758b4f25
Support toString for AdaptedFunctionReference subclasses
...
Also make it serializable like other lambdas, suspend lambdas and normal
callable references.
2020-04-08 19:16:38 +02:00
Alexander Udalov
fa879e667f
Add some tests on adapted references with varargs and reflection
...
Also rename "varargAndDefaults" test directory to "adaptedReferences"
2020-04-08 19:15:40 +02:00
Alexander Udalov
66995fe1a5
Fix condition in calculation of adapted function reference flags
...
This only affects flags which are passed to
kotlin.jvm.internal.AdaptedFunctionReference. The only way it could lead
to changes in behavior is if it affected equals/hashCode of adapted
references. But it doesn't seem possible to construct a test where two
_different_ adaptations exist for a function reference to a
vararg-taking function, both of which use some sort of 1.4 function
reference conversion. Hence, no new tests are added.
2020-04-08 19:15:39 +02:00
Alexander Udalov
0681231e99
Introduce AdaptedFunctionReference runtime class
...
It's used as a superclass for anonymous classes for adapted function
references. Its main feature is that it _doesn't_ inherit from KFunction
(as opposed to FunctionReference), as per the decision to postpone
reflection support for adapted function references in KT-36024.
#KT-36024 Fixed
2020-04-08 19:15:38 +02:00
Dmitry Petrov
d1c5a42124
KT-36024 Generate adapted callable references as lambdas
...
Make sure both JVM and JVM_IR use the same information to determine
whether a callable reference requires argument adaptation.
2020-04-08 19:02:33 +02:00
Dmitry Petrov
ddf7f53118
Add more tests on inline class boxing in covariant overrides
2020-04-08 19:56:26 +03:00
Dmitry Petrov
9615b20e5d
Box inline class return value in lambdas (including suspend lambdas)
2020-04-08 19:56:26 +03:00
Ilya Kirillov
59b72b3156
Fix 191 compilation of idea-new-project-wizard module
2020-04-08 19:22:35 +03:00
Ilya Goncharov
e2c2453043
[Gradle, JS] Add toStringLoader for imported
...
#KT-38055 fixed
2020-04-08 18:30:18 +03:00
Ilya Goncharov
f6891853e0
[Gradle, JS] Reorganize css settings with rules
...
#KT-38055 fixed
2020-04-08 18:30:17 +03:00
Ilya Goncharov
3957758541
[Gradle, JS] Upgrade at least version to 5.3
...
#KT-32721 fixed
2020-04-08 18:30:17 +03:00
Ilya Goncharov
bc0cfb67f6
[Gradle, JS] Css mode instead of boolean flag
...
#KT-32721 fixed
2020-04-08 18:30:17 +03:00
Ilya Goncharov
e9bc64e103
[Gradle, JS] Add test on css and migrate one test on groovy dsl
...
#KT-32721 fixed
2020-04-08 18:30:17 +03:00
Ilya Goncharov
6106a07282
[Gradle, JS] Css settings for karma
...
#KT-32721 fixed
2020-04-08 18:30:17 +03:00
Ilya Goncharov
d74c52f09a
[Gradle, JS] Simplify css settings
...
#KT-32721 fixed
2020-04-08 18:30:17 +03:00
Ilya Goncharov
9b13c05f67
[Gradle, JS] Add css settings to config
...
#KT-32721 fixed
2020-04-08 18:30:16 +03:00
Ilya Goncharov
0f63e66b9f
[Gradle, JS] Small fixes
...
#KT-32721 fixed
2020-04-08 18:30:16 +03:00
Ilya Goncharov
207666b99d
[Gradle, JS] Add css settings to webpack
...
#KT-32721 fixed
2020-04-08 18:30:16 +03:00
Ilya Goncharov
74d95736e6
[Gradle, JS] Require source-map-loader with kotlin-source-map-loader
...
It is WA to download necessary dependencies for source-map-loader
#KT-32721 fixed
2020-04-08 18:30:16 +03:00
Ilya Goncharov
f308bfd75f
[Gradle, JS] Use let for config instead of var
...
#KT-32721 fixed
2020-04-08 18:30:16 +03:00
Ilya Goncharov
f55998a015
[Gradle, JS] Update evaluate reporting
...
#KT-32721 fixed
2020-04-08 18:30:16 +03:00
Ilya Goncharov
dd320040cd
[Gradle, JS] Progress reporter before custom config
...
#KT-32721 fixed
2020-04-08 18:30:15 +03:00
Ilya Kirillov
445ca97486
Wizard: rename project templates to their corresponding titles
2020-04-08 16:49:32 +03:00
Ilya Kirillov
588034e124
Wizard: add ability to open project wizard via hyperlink
2020-04-08 16:49:31 +03:00
Ilya Kirillov
91af859cb5
Wizard: do now allow project view occupy all space
2020-04-08 16:49:30 +03:00
Ilya Kirillov
80f09d66db
Wizard: rework build system component
2020-04-08 16:49:29 +03:00
Ilya Kirillov
c1f40907db
Wizard: fix layout & text problems
2020-04-08 16:49:27 +03:00
Ilya Kirillov
c313916044
Wizard: upgrade Gradle version to 6.3
...
#KT-37932 fixed
2020-04-08 16:49:26 +03:00
Ilya Kirillov
4db1934cfd
Wizard: do not allow choosing build system if corresponding IJ plugin is disabled
...
#KT-38061 fixed
2020-04-08 16:49:25 +03:00
Ilya Kirillov
a6af27d852
Wizard: allow specifying Kotlin target version for JPS build system
...
#KT-37970 fixed
2020-04-08 16:49:24 +03:00
Ilya Kirillov
82a40e3394
Wizard: fix invalid repository when downloading jars for JPS
...
#KT-37956 fixed
2020-04-08 16:49:23 +03:00
Ilya Kirillov
5f917827b5
Wizard: update wizard directory & name on project creation
...
#KT-37974 fixed
2020-04-08 16:49:23 +03:00
Ilya Kirillov
8f8039ab4f
Wizard: do not show wizard when creating new module
...
#KT-37973 fixed
2020-04-08 16:49:22 +03:00
Mikhail Glukhikh
1bab27c4c1
Add immutable collections to compiler dist (required for FIR)
2020-04-08 16:10:34 +03:00
Anton Yalyshev
db4b547c99
Fix spaces in FUS event_id and context, as it cause problems in whitelisting
2020-04-08 15:35:54 +03:00
Sergey Rostov
e82b8a1bdc
buildSrc, kotlin-dsl plugin: suppress experimentalWarning
...
This warning is about https://docs.gradle.org/current/userguide/kotlin_dsl.html#sec:kotlin-dsl_plugin .
It appears after we are strating using our bootstrap plugin for buildSrc
too. It is unlikely that new compiler will broke build scripts
compilation for our project, so we can suppress it.
2020-04-08 15:15:16 +03:00
Toshiaki Kameyama
06bd620dd6
Replace with: do not remove annotation use-site targets
2020-04-08 19:09:53 +07:00
simon.ogorodnik
f573719cc1
[FIR] Fix missing receiver type if anonymous function without label
2020-04-08 14:56:17 +03:00
simon.ogorodnik
d2fd377605
[FIR] Add rendering of delegating constructor calls to html dump
2020-04-08 14:56:16 +03:00
Irene Dea
419d6d0015
[zipPlugin task] Remove deprecated calls and allow default destination path for empty pluginZipPath argument. ( #3254 )
...
Co-authored-by: Alanna Tempest <atem@fb.com >
Co-authored-by: Alanna Tempest <atem@fb.com >
2020-04-08 14:54:08 +03:00
Victor Turansky
5d34b156bf
Gradle plugin publish plugin security update ( #3246 )
2020-04-08 14:52:03 +03:00
Victor Turansky
dbffe6d2be
README Actualize IDEA instructions
2020-04-08 14:48:53 +03:00
Anton Bannykh
998218716d
IR: make lateinit lowering traverse local classes
2020-04-08 14:44:25 +03:00
Dmitry Gridin
81bd8f8c31
TrailingCommaInspection: cleanup code
2020-04-08 18:39:59 +07:00
Leonid Startsev
60efab24ea
Add @SerializableWith on objects too
...
to be able to retrieve them via getAssociatedObject and serializer<T>()
function. Now object itself is a SerializerFactory.
2020-04-08 14:12:01 +03:00
Leonid Startsev
d4fc6774f3
Support new 'typeParametersSerializers' function
...
from GeneratedSerializer
2020-04-08 14:12:01 +03:00
Leonid Startsev
ceb3cfbfd5
Remove update* calls
2020-04-08 14:12:01 +03:00