Mikhail Zarechenskiy
8ff141357e
as42: move plugin.xml to appropriate resource directy
...
#KT-41930 Fixed
2020-09-29 15:32:34 +03:00
Mikhail Zarechenskiy
11ac5bd32a
as42: Fix test about forgotten bunches
2020-09-29 15:32:34 +03:00
Mikhail Zarechenskiy
929fb1f178
as42: Fix compilation of tests
2020-09-29 15:32:34 +03:00
Nikolay Krasko
99b9bc83a1
as42: Fix assertEqualsToFile usage
2020-09-29 15:32:34 +03:00
Nikolay Krasko
d83355e4c4
as42: Remove setupGradleSettings usage
2020-09-29 15:32:34 +03:00
Nikolay Krasko
fa9368125f
as42: Remove clearing scratchesMapping in tests
2020-09-29 15:32:33 +03:00
Nikolay Krasko
c5b70797e2
as42: Fix compilation errors in AbstractJavaToKotlinConverterForWebDemoTest
2020-09-29 15:32:33 +03:00
Nikolay Krasko
1dc3cb5978
as42: Fix compilation errors caused by 202 platform
2020-09-29 15:32:33 +03:00
Nikolay Krasko
ecff2816ac
as42: Fix duplication registration for com.intellij.psi.classFileDecompiler in plugin
2020-09-29 15:32:33 +03:00
Nikolay Krasko
a3bef10b97
as42: Add fastutil library to dependency to make KtUsefulTestCase.<clinit> work
...
java.lang.NoClassDefFoundError: it/unimi/dsi/fastutil/objects/Object2FloatMap
at com.intellij.configurationStore.MyXmlSerializer$bindingProducer$1.createRootBinding(xmlSerializer.kt:172)
at com.intellij.configurationStore.MyXmlSerializer$bindingProducer$1.createRootBinding(xmlSerializer.kt:170)
at com.intellij.configurationStore.OldBindingProducer.getRootBinding(xmlSerializer.kt:154)
at com.intellij.configurationStore.MyXmlSerializer.getRootBinding(xmlSerializer.kt:186)
at com.intellij.util.xmlb.Serializer.getRootBinding(Serializer.java:18)
at com.intellij.configurationStore.JdomSerializerImpl.serializeObjectInto(xmlSerializer.kt:78)
at com.intellij.configurationStore.XmlSerializer.serializeObjectInto(xmlSerializer.kt:39)
at com.intellij.configurationStore.XmlSerializer.serializeObjectInto$default(xmlSerializer.kt:38)
at com.intellij.configurationStore.XmlSerializer.serializeObjectInto(xmlSerializer.kt)
at com.intellij.codeInsight.CodeInsightSettings.writeExternal(CodeInsightSettings.java:231)
at org.jetbrains.kotlin.test.testFramework.KtUsefulTestCase.<clinit>(KtUsefulTestCase.java:123)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at junit.framework.TestSuite.createTest(TestSuite.java:60)
at junit.framework.TestSuite.addTestMethod(TestSuite.java:307)
at junit.framework.TestSuite.addTestsFromTestCase(TestSuite.java:150)
at junit.framework.TestSuite.<init>(TestSuite.java:129)
2020-09-29 15:32:33 +03:00
Nikolay Krasko
1f3602c4b7
as42: Register DumbUtil service as it required in PsiElementFinderImpl
2020-09-29 15:32:33 +03:00
Nikolay Krasko
1b97511248
as42: Register classFileDecompiler through xml
...
It doesn't work otherwise. It's expected that extension point is registered
at the moment of ClassFileDecompilers instatiation or it fails.
2020-09-29 15:32:32 +03:00
Nikolay Krasko
5ba70b2cbb
as42: Additional fixes for AS42 and 202 platform
2020-09-29 15:32:32 +03:00
Nikolay Krasko
2df030f583
as42: Apply 201 <-> AS41 diff
2020-09-29 15:32:32 +03:00
Nikolay Krasko
17e43aadaa
Introduce AS42 bunch
2020-09-29 15:32:32 +03:00
Dmitry Petrov
1fc459ab4c
JVM_IR KT-42260 add abstract overrides for generated stubs
2020-09-29 14:06:12 +03:00
Alexander Udalov
445b2d6eb1
JVM IR: minor, unmute bytecode text test
...
Also fix typo in the name
2020-09-29 12:38:54 +02:00
Alexander Udalov
b497f39c29
IR: do not try to render IrUninitializedType
...
This will improve exception messages in case some error happens on a
function whose return type is uninitialized, as in KT-41401.
2020-09-29 12:32:45 +02:00
Ilya Goncharov
522fdb3e59
[Gradle, JS] Empty compiler plugin classpath for KotlinJsIrLink
...
^KT-42245 fixed
2020-09-29 12:17:38 +03:00
Mikhail Glukhikh
cebbd21a1e
FIR2IR: simplify analysis of companion' callable references
2020-09-29 11:51:21 +03:00
Jinseong Jeon
3151fc8577
FIR2IR: set dispatch receiver for companion member reference
...
#KT-42132 fixed
2020-09-29 11:51:21 +03:00
Jinseong Jeon
01d852c006
FIR: carry annotations on delegated property accessors
2020-09-29 11:35:19 +03:00
Aleksei Cherepanov
f1aa75fdf8
[JPS] Fix startup environment for Android Studio
2020-09-29 11:30:14 +03:00
Ilmir Usmanov
6ae2951850
Minor. Do not check suffix of function for tail-call optimization hit
2020-09-29 10:04:03 +02:00
Dmitriy Novozhilov
7d277b907f
[FIR] Add new backend tests to "[JPS] Run fast FIR tests" configuration
2020-09-29 10:45:16 +03:00
Victor Petukhov
8f333aef3a
Introduce warning about forbidden referencing to underscore named parameter of the catch block in a future release (KT-31567)
2020-09-29 10:23:45 +03:00
Victor Petukhov
09f1764f82
Introduce warning for private inline functions which return anonymous objects without specified supertypes (KT-33917)
2020-09-29 10:23:45 +03:00
Victor Petukhov
63d825fa24
Introduce warning for secondary constructor in enums without delegation to primary constructors (KT-35870)
2020-09-29 10:23:45 +03:00
Mikhail Glukhikh
416874f9d0
[FIR] Update BB test license comments
2020-09-29 10:21:22 +03:00
Mark Punzalan
238cc7c257
[FIR] Enable BytecodeText tests for FIR.
...
143 out of 767 tests (18.6%) are currently failing.
2020-09-29 10:21:21 +03:00
Mark Punzalan
69cd729506
[FIR] Enable BlackBoxAgainstJavaCodegen tests for FIR.
...
23 out of 156 tests (14.7%) are currently failing.
2020-09-29 10:21:21 +03:00
Mark Punzalan
348ba3e08c
[FIR] Enable BlackBoxInlineCodegen tests for FIR.
...
16 out of 638 tests (2.5%) are currently failing.
2020-09-29 10:21:21 +03:00
Dmitriy Novozhilov
53a7d69ca6
[FIR] Make FirPropertyAccessor inherits FirCallableMemberDeclaration
2020-09-29 10:17:43 +03:00
Dmitriy Novozhilov
8f1062594f
[FIR] Add ability to get scopes for declarations of TYPES resolve phase
2020-09-29 10:17:43 +03:00
Dmitriy Novozhilov
cc4f72e032
[FIR] Capture type from type parameter upper bound when needed
2020-09-29 10:17:43 +03:00
Dmitriy Novozhilov
393688ad82
[FIR] Add extension to FirSession to get ConeTypeCheckerContext
2020-09-29 10:17:42 +03:00
Dmitriy Novozhilov
9e4623c52b
[FIR] Fix resolution of calls on super to avoid resolve to interface methods
...
#KT-38400 Fixed
2020-09-29 10:17:42 +03:00
Dmitriy Novozhilov
fb871a55a3
[FIR] Don't create backing field for property without explicit type
...
#KT-41977 Fixed
2020-09-29 10:17:42 +03:00
Dmitriy Novozhilov
0c0a8f9849
[FIR] Properly pass type attributes for inference of lambda with type variable as expected type
...
#KT-41989 Fixed
#KT-37317 Fixed
2020-09-29 10:17:42 +03:00
Dmitry Petrov
d9906ae8da
Minor: unmute some bytecode listing tests in JVM_IR
2020-09-28 21:48:14 +03:00
Dmitry Petrov
565c156ddb
Minor: reformat and cleanup warnings in CollectionStubMethodGenerator.kt
2020-09-28 21:48:14 +03:00
Yan Zhulanow
af1ed77d15
Parcelize: Fix NPE on availability check
2020-09-29 02:37:44 +09:00
pyos
8c423729e4
JVM_IR: slightly refactor ClassCodegen
...
* reduce code duplication for constructing JvmDeclarationOrigin;
* move all `visitor.visitInnerClass` calls to before `visitor.done`;
* make the order of members more strict & remove 3 mutable fields, as
order-dependent mutation can lead to differences with incremental
compilation due to inline calls (thus keeping mutable state in
ClassCodegen is in general unsafe).
2020-09-28 17:08:01 +02:00
Andrei Klunnyi
79e5177126
[KTIJ-145] Memory leak detected
2020-09-28 15:21:21 +02:00
Yaroslav Chernyshev
819e83b68b
[Gradle, Cocoapods] Complete logging for corner-case pod configurations
2020-09-28 16:09:36 +03:00
Yaroslav Chernyshev
5f4aa4db27
[Gradle, Cocoapods] Improve logging when deprecated podspec path is used
...
#KT-41948 Fixed
2020-09-28 16:09:36 +03:00
Toshiaki Kameyama
330502a0a6
KT-22665 "Create object" quick fix produce wrong code for enum ( #2883 )
...
* "Create object" quick fix: do not suggest for enum
#KT-22665 Fixed
2020-09-28 14:02:10 +02:00
Victor Petukhov
076eacb3d1
Check implicitly inferred Nothing inside special calls properly: compare constructors instead of types
...
^KT-41176 Open
2020-09-28 13:27:02 +03:00
Dmitriy Novozhilov
051d64742c
Make SpaceBootstrap as default bootstrap source
2020-09-28 12:45:36 +03:00
Dmitriy Novozhilov
f39adfdf15
Update version of kotlin-build-gradle-plugin dependency
2020-09-28 12:43:10 +03:00