Vladimir Dolzhenko
f372a0fe6c
Force full analysis even if incremental analysis is available but existed is erroneous
2020-06-30 12:53:34 +00:00
Konstantin Tskhovrebov
343e645282
Rename and refactor kmm plugin packages, task names, ids and etc.
2020-06-30 15:28:39 +03:00
Vladimir Dolzhenko
48a9226e1c
Fix copy-paste from KTS files
...
#KT-37517 Fixed
2020-06-30 12:24:31 +00:00
Toshiaki Kameyama
0a230905ae
Remove redundant spread operator: don't report if overloaded functions cannot be resolved
...
#KT-38282 Fixed
2020-06-30 19:16:22 +07:00
Ilya Kirillov
f179b39c70
Wizard: fix project template list size
2020-06-30 15:10:55 +03:00
Aleksei Cherepanov
b9b068ff63
Fix FirMultiModuleResolveTestGenerated tests
2020-06-30 14:16:52 +03:00
Sergey Igushkin
8ba131290a
Fixup for 1f5fa5eb7 – adjust error message
2020-06-30 13:14:03 +03:00
Sergey Igushkin
1f5fa5eb7c
Add back empty stub implementations of KotlinGradleSubplugin (KT-39809)
...
* If a KotlinGradleSubplugin implements
KotlinCompilerPluginSupportPlugin, don't apply it as a legacy plugin
* Add the legacy KotlinGradleSubplugin implementations back so that
when there's JAR hell with META-INF/services in the old artifacts
pointing to the classes, loading the plugins with ServiceLoader (legacy
implementation) from the new artifacts would not fail.
* There's a corner case for plugins not in kotlin-gradle-plugin
If a newer and older version of such a subplugin is used with an older
version of the Kotlin Gradle plugin, the latter will find the META-INF
entries and will try to load the subplugins from the new version. With
the original fix for KT-39809, this would result in silently ignored
empty stub implementations.
Given that the Kotlin Gradle plugin can now check if a subplugin
supports the new API, it's OK to keep the old entries and make the
stub implementations throw a build error when called, so that improper
plugin versions are not ignored and are clearly reported.
Note that this is only necessary for the subplugins not bundled in the
kotlin-gradle-plugin module, as those will always be in sync with the
Kotlin version.
Issue #KT-39809 Fixed
2020-06-30 12:51:51 +03:00
Sergey Igushkin
cb936dd82e
Fix internals with symlinked friend paths (KT-35341)
...
The friend paths converted to canonical paths didn't match absolute
paths in the compiler code in case of symlinked directories.
This fixes a regression.
Issue #KT-35341 Fixed
2020-06-30 12:51:50 +03:00
kvirolainen
5b1d019bb0
Added Incomplete destructuring inspection
...
#KT-21223 Fixed
2020-06-30 11:47:27 +02:00
Sergey Igushkin
e6bca819d4
Remove kotlin.native.linkFromSources, expose tasks' sources
...
* Drop the deprecated mode in the Kotlin/Native link
tasks using sources rather than the intermediate
compiled klib.
* Remove the `allSources` and `commonSources`
properties from the KotlinNativeCompilation, use the
tasks' properties instead.
2020-06-30 12:27:14 +03:00
Mads Ager
c3b5b21845
[JVM] Extend stepping tests with <clinit> stepping.
...
In addition, made the stepping information for constructor calls
consistent across JVM_IR and JVM. For JVM_IR that stepping behavior
is consistent for enum constructor calls in <clinit> for JVM it
is not.
2020-06-30 11:18:29 +02:00
Ilya Kirillov
2693664aa7
FIR IDE: unmute tests after introducing fake element kinds
2020-06-30 11:55:59 +03:00
Ilya Kirillov
9baced20c4
FIR IDE: find FIR element by PSI one only if FIR have a real source
...
Also, add a check that there is only one element with the same real source
2020-06-30 11:55:58 +03:00
Ilya Kirillov
5acdad29ec
FIR: change source of existing type refs in DataClassMembersGenerator to avoid sources clash
2020-06-30 11:55:57 +03:00
Ilya Kirillov
650f2dd713
FIR: consider source of FirSingleExpressionBlock as a fake one
2020-06-30 11:55:56 +03:00
Ilya Kirillov
1c564e1bd6
FIR: add ImplicitTypeRef to the control flow fir element sources
2020-06-30 11:55:56 +03:00
Ilya Kirillov
94967bcd00
FIR: introduce element kind for source elements
...
It is needed for FIR IDE to determine if FIR element was built by PSI
or it is generated one
2020-06-30 11:55:53 +03:00
Dmitriy Novozhilov
f6e653b242
[FIR] Fix compilation broken in 309050d9
2020-06-30 11:43:46 +03:00
Dmitriy Novozhilov
309050d956
[FIR] Add ExtensionFunctionType attribute
...
#KT-39034 Fixed
2020-06-30 11:30:19 +03:00
Dmitriy Novozhilov
1d3c0f56a9
[FIR] Save type attributes in substitution
2020-06-30 11:30:19 +03:00
Dmitriy Novozhilov
25fd5cd4ac
[FIR] Save type attributes in ConeKotlinType.withNullability
2020-06-30 11:30:19 +03:00
Dmitriy Novozhilov
840d3975cc
[FIR] Add computing type attributes for deserialized types
2020-06-30 11:30:19 +03:00
Dmitriy Novozhilov
cfa250957a
[FIR] Fix creating type attributes for intersection types
2020-06-30 11:30:18 +03:00
Jinseong Jeon
fab9ee47f9
FIR deserializer: proper annotation loading for value parameter of property setter
2020-06-30 11:01:03 +03:00
Toshiaki Kameyama
9308525d93
Add receiver of kotlin.text.toPattern to standard Kotlin injections
...
#KT-39231 Fixed
2020-06-30 14:26:37 +07:00
Vyacheslav Karpukhin
787d22c93e
Created bunch 203
2020-06-30 03:41:51 +02:00
Egor Zhdan
09a111239e
Stabilize ProjectTaskRunner registration order
2020-06-29 23:11:54 +02:00
Vyacheslav Karpukhin
866e5397d9
New ultimate modules
2020-06-29 23:11:54 +02:00
Ilmir Usmanov
ed80b431f0
Restore refined int-type analysis
2020-06-29 21:42:30 +02:00
Alexander Gorshenev
8920e68584
Muted .IncrementalJsKlibCompilerRunnerTestGenerated.ClassHierarchyAffected.testMethodRemoved
...
until we have full fledged fake override support in klib
2020-06-29 21:58:32 +03:00
Alexander Gorshenev
41a472693a
Updated extraHelp test data for the new flags
2020-06-29 21:58:32 +03:00
Alexander Gorshenev
bf419bc243
Compute correct signature for fake override properties with type parameters
2020-06-29 21:58:32 +03:00
Alexander Gorshenev
d90c383287
Fine tuned fake override validator for internals
2020-06-29 21:58:32 +03:00
Alexander Gorshenev
e08b800eb9
Treat internals as publics for fake override construction
2020-06-29 21:58:31 +03:00
Alexander Gorshenev
e61960f333
Fake override construction fallback mode
2020-06-29 21:58:31 +03:00
Alexander Gorshenev
de79e3bec3
Added -Xdisable-fake-override-validator
2020-06-29 21:58:31 +03:00
Ilmir Usmanov
f127a0f593
Add flag to disable new spilled variable type analysis
2020-06-29 20:50:43 +02:00
Mikhail Zarechenskiy
d7df6e1e0c
Avoid references to DeprecatedSinceKotlin to fix JPS build
2020-06-29 21:49:01 +03:00
Ilmir Usmanov
28e6028af4
Minor. Add test
2020-06-29 20:13:40 +02:00
Ilmir Usmanov
da12532669
Ignore fake inliner variables in merge operation
...
since they are not read and just markers.
#KT-39863 Fixed
2020-06-29 20:13:37 +02:00
Mikhail Zarechenskiy
b0b8d40b71
Update ApiTest.testIrStdlib for JS, an addition to 9be8c5b5
2020-06-29 21:09:19 +03:00
Dmitry Petrov
e4198466b8
JVM_IR: No nullability annotations on static lambda instances
2020-06-29 19:32:03 +03:00
Dmitry Petrov
eefa621c56
JVM_IR KT-37006: InlineOnly property accessors are private in bytecode
2020-06-29 19:08:58 +03:00
Alexander Udalov
b94a4d9fc3
Render more information on inner classes in bytecode listing tests
2020-06-29 17:33:39 +02:00
Vyacheslav Gerasimov
4bb670e667
Build: Use project kotlin-reflect in fir tree generator
...
To avoid unstable dependency substitution depending on local version
2020-06-29 18:17:09 +03:00
Vyacheslav Gerasimov
1ef68dfffd
Build: Fix kotlin-test-js-ir:commonMainSources to copy only sources
...
Copying previous build result with sources leads to unstable task inputs
2020-06-29 18:17:08 +03:00
Vyacheslav Gerasimov
5198020c29
Build: Fix kotlin-stdlib related errors during jps build import
2020-06-29 18:17:08 +03:00
Vyacheslav Gerasimov
63b7350046
Build: Use sources from kotlin mpp source set in sourcesJar helper
2020-06-29 18:17:08 +03:00
Vyacheslav Gerasimov
77a8cf4e66
Build: Use attributes to resolve test dependencies in jps build mode
2020-06-29 18:17:08 +03:00