Ilya Kirillov
a03510e3c0
Wizard: add tags for project templates
2020-03-01 19:07:50 +03:00
Ilya Kirillov
d639816393
Wizard: use kotlinx-collections-immutable for storing IRs
2020-03-01 19:07:49 +03:00
Nikolay Krasko
e38448c6f2
No need to hack PsiSubstitutor anymore in AS 40 (KT-36039)
...
Remove KotlinCoreApplicationEnvironment for AS 40 after platform update.
2020-03-01 00:37:44 +03:00
Vyacheslav Gerasimov
b1ca06b21d
Build: Add missing tools.jar to performance tests runtime
2020-02-29 23:30:27 +03:00
Vyacheslav Gerasimov
05b5894ef1
Build: Use configurations property for shadowJar in :kotlin-main-kts
...
It marked as classpath and improves cache reuse between different builds
2020-02-29 16:36:02 +03:00
Vyacheslav Gerasimov
0db69cadb6
Build: Make all compile dependencies on toolsJar compileOnly
...
tools.jar differs between different versions of JDK reducing cache reuse
so better to not leak it to other modules
2020-02-29 16:35:54 +03:00
Vyacheslav Gerasimov
8e0f403f02
Build: normalize inputs of :kotlin-reflect:stripMetadata as classpath
2020-02-29 16:33:34 +03:00
Vyacheslav Gerasimov
6e2fb72bb6
Build: Make :kotlin-reflect:relocateCoreSources task cacheable
2020-02-29 16:33:34 +03:00
Vyacheslav Gerasimov
0ebc11270b
Build: Remove duplicated manifestAttributes call from reflectShadowJar
...
manifestAttributes call done in the result jar
2020-02-29 16:32:02 +03:00
Vyacheslav Gerasimov
54d8afea40
Build: Disable caching for Test tasks until we are sure it is safe
...
#KT-37089
2020-02-29 16:32:01 +03:00
Vyacheslav Gerasimov
5195cc8c12
Build: Add buildserver.labs.intellij.net to valid hosts in caching check
2020-02-29 16:32:01 +03:00
Vyacheslav Gerasimov
b64c7cce84
Build: Use Jar task for :kotlin-compiler:packCompiler
...
Right now can't be cached between builds because of compiler version.
We may move module containing compiler version directly to the final jar
2020-02-29 16:32:00 +03:00
Vyacheslav Gerasimov
35c4cc6d45
Build: Use Jar task instead ShadowJar task in :kotlin-daemon-client-new
2020-02-29 16:31:59 +03:00
Vyacheslav Gerasimov
07949aaf4f
Build: Use Jar task instead ShadowJar task in :kotlin-daemon
2020-02-29 16:31:59 +03:00
Vyacheslav Gerasimov
6c8c126ebc
as40: Update to AS 4.0 Beta 1
2020-02-29 16:15:11 +03:00
Sergey Rostov
7359bb8a00
Fix tests freeze because of ScriptChangesNotifier (KT-37112)
...
#KT-37112 Fixed
2020-02-29 01:14:26 +03:00
Dmitry Petrov
03913ff029
KT-33119 Generate IINC for primitive types only
2020-02-28 23:20:02 +03:00
Dmitry Petrov
2010d8d2b9
KT-36956 fix back-end part in JVM and JVM_IR
...
PSI2IR: deparenthesize LHS expression when generating assignment
receiver.
FE: record 'set' operator call for code generation.
2020-02-28 23:04:42 +03:00
Sergey Igushkin
f764d3a021
testCompileOnlyDependencyProcessingForMetadataCompilations -> Gradle 5+
...
This test fails with Gradle 4.9 due to a Gradle bug when Gradle is
unable to pick up task dependencies from providers nested into a file
collection. That doesn't seem feasible to fix.
2020-02-28 20:09:45 +03:00
Sergey Igushkin
b8602fa31a
Fix missing installation dependencies in Gradle integration tests
2020-02-28 20:09:45 +03:00
Vladimir Dolzhenko
197e096017
Disable PerformanceNativeProjectsTest
2020-02-28 17:36:46 +01:00
Vladimir Dolzhenko
bc0e466981
Add undo typing kts performance test
2020-02-28 17:36:33 +01:00
Steven Schäfer
4ac45eb38b
JVM IR: Fix inline class constructors taking default values of inline class type.
2020-02-28 17:11:59 +01:00
Vladimir Dolzhenko
846e50a0c0
Backport ActionUtil.underModalProgress to fix 191/192 compilation
...
Relates to #EA-143709
2020-02-28 15:16:26 +01:00
Nikolay Krasko
d47fc7280b
Fix testUnresolvedMultiline test data
2020-02-28 16:51:12 +03:00
Nikolay Krasko
50c92f2a05
Bad string interpolation for empty string in batch (KT-37090)
...
#KT-37090 Fixed
2020-02-28 16:51:12 +03:00
Steven Schäfer
b173284d1d
Add tests for super calls in inline classes
2020-02-28 14:48:17 +01:00
Steven Schäfer
0fe8fec1d1
Mute FIR tests
2020-02-28 14:48:17 +01:00
Steven Schäfer
465e9f2d68
JVM IR: Always produce stubs for interface methods in inline classes
...
This matches the behavior of the JVM backend, with the exception of
@JvmDefault methods, which are currently broken on the JVM backend.
2020-02-28 14:48:17 +01:00
Steven Schäfer
8c9ebc1bf9
JVM IR: Initialize parent field in InlineCallableReferenceToLambda
2020-02-28 14:48:17 +01:00
Mikhail Glukhikh
c2eab08cc9
FIR: fix arose problem with smartcast un-stability
2020-02-28 15:36:19 +03:00
Mikhail Glukhikh
d5fbd93fe6
Unmute additional FIR black box tests
...
This was result of comparison commits together (?) with override commits
2020-02-28 15:29:03 +03:00
Mikhail Glukhikh
9e69ffad36
FIR2IR (refactoring): introduce ConversionTypeContext
2020-02-28 15:29:03 +03:00
Mikhail Glukhikh
883dd95e3c
FIR: fix class / constructor type parameter duplication
2020-02-28 15:29:02 +03:00
Mikhail Glukhikh
2308e5bb7c
FIR2IR: in case of use-site generic type use call from original class
2020-02-28 15:29:02 +03:00
Mikhail Glukhikh
096dc25701
FIR: change callableId of fake overrides to derived class owner
2020-02-28 15:29:02 +03:00
Mikhail Glukhikh
db7401d8eb
FIR2IR: set GET_PROPERTY origin for property reads
2020-02-28 15:29:01 +03:00
Mikhail Glukhikh
e066afc67f
FIR2IR: set parents for external enum entries
2020-02-28 15:29:01 +03:00
Mikhail Glukhikh
5b3b35cd78
FIR2IR: set "external stub" origin for external enum entries
2020-02-28 15:29:01 +03:00
Mikhail Glukhikh
3a3d6e740c
FIR2IR: correctly set type parameters of property accessors
...
In particular, we generate different type parameters for
getters & setters here.
2020-02-28 15:29:01 +03:00
Mikhail Glukhikh
50abb07245
[FIR] Record & use type arguments of FirQualifiedAccessExpression
2020-02-28 15:29:00 +03:00
Ilya Matveev
f53b059410
[Gradle, tests] Fix native compiler arguments test for Windows
2020-02-28 17:50:55 +07:00
Toshiaki Kameyama
0b9106b0f8
CanBePrimaryConstructorPropertyInspection: do not report for 'open' property used in class initializer in 'open' class
2020-02-28 17:21:56 +07:00
Georgy Bronnikov
963258189a
JVM_IR: change parameter type computation in InlineCallableReferenceToLambda
...
The reference type is approximated in Psi2Ir, so we may get Nothing as
a reference type argument. Better look at the arguments of the
referenced function.
2020-02-28 12:59:21 +03:00
pyos
456139fc5e
JVM_IR: cache signatures in BridgeLowering
...
`mapAsmMethod` is somewhat slow, so this helps if there are a lot of
overrides of same methods and/or deep class hierarchies in a single file
(though it would probably help more if lowerings were not reconstructed
for every file).
2020-02-28 12:32:26 +03:00
Ilya Kirillov
97e320b57f
Don't show IR_COMPILED_CLASS error in IJ when it arises in module with backend IR enabled
...
The problem here is that library resolver uses global project compiler
settings instead of the module ones. That behaviour is caused by more
global problem described in #KT-21246
As a temporary solution we just do not show IR_COMPILED_CLASS error in
IDE if it arises in a module which have -XuseIR or
-Xallow-jvm-ir-dependencies option provided
#KT-36907 fixed
2020-02-28 11:45:51 +03:00
Nikolay Krasko
7a4d414c59
201: Mute SuggestedRefactoring tests
2020-02-28 11:36:42 +03:00
Nikolay Krasko
6a9dfd4935
201: Mute HierarchicalMultiplatformProjectImportingTest: No module dependency found
2020-02-28 11:36:41 +03:00
Nikolay Krasko
774db02b23
201: Mute quick fix tests: Range must be inside element being annotated
2020-02-28 11:36:41 +03:00
Nikolay Krasko
06adac1abf
201: Mute TodoSearchTest: duplicate TODO items
2020-02-28 11:36:41 +03:00