Commit Graph

62438 Commits

Author SHA1 Message Date
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
Nikolay Krasko 543168c61d 201: Mute incremental compilation tests with constants 2020-02-28 11:36:40 +03:00
Nikolay Krasko 8501ea78c8 201: Mute a lot of tests with enums 2020-02-28 11:36:40 +03:00
Nikolay Krasko 79e663828a 201: Mute QuickFixTestGenerate: Range must be inside element being annotated 2020-02-28 11:36:39 +03:00
Nikolay Krasko f5a97ea56e 201: Mute GradleScriptInputsWatcherTest failures 2020-02-28 11:36:39 +03:00
Nikolay Krasko dad7fd383c 201: Upgrade nodejs plugin in 201 branch 2020-02-28 11:36:39 +03:00
Nikolay Krasko f0a4f838f2 201: Mute NewMultiplatformProjectImportingTest tests
No module dependency found
No source folder found
2020-02-28 11:36:38 +03:00
Nikolay Krasko f4cd25ce72 201: Mute MultiplatformProjectImportingTest tests
Failed search dependency in Gradle tests.
2020-02-28 11:36:38 +03:00
Nikolay Krasko 67dee52b8a 201: Mute NewJavaToKotlinConverterSingleFileTestGenerated tests 2020-02-28 11:36:38 +03:00
Nikolay Krasko 958b8a0b10 201: Fix maven plugin loading by adding repository-search to runtime 2020-02-28 11:36:37 +03:00
Nikolay Krasko 0fcd011abb 201: Fix loading project in configuration tests
De-bunch AbstractConfigureKotlinTest.kt, just don't use field in 193.
2020-02-28 11:36:37 +03:00
Nikolay Krasko 1a01ba0ae5 201: Trick idea home path exception with custom idea.home variable 2020-02-28 11:36:36 +03:00
Nikolay Krasko da2683d180 Copy 192 muted tests 2020-02-28 11:36:36 +03:00
Nikolay Krasko dd21736471 Register JDK for default project to prevent create leaking one for Gradle import 2020-02-28 11:36:36 +03:00
Nikolay Krasko c9fd79c311 Enable mute in code for all KotlinLightCodeInsightFixtureTestCaseBase 2020-02-28 11:36:35 +03:00
Nikolay Krasko 1c0a9d2981 Minor: better asserts in TodoSearchTest.kt 2020-02-28 11:36:35 +03:00
Nikolay Krasko 26df2a5c68 Enable mute test with database in BaseKotlinJpsBuildTestCase 2020-02-28 11:36:34 +03:00
Nikolay Krasko 31ba40cc99 Ignore auto-mute files 2020-02-28 11:36:34 +03:00
Nikolay Krasko c22272bbca Enable mute for KotlinCompletionTestCase 2020-02-28 11:36:34 +03:00
Nikolay Krasko 66e2f95dba Update method after UsefulTestCase update to make in work in 201 2020-02-28 11:36:33 +03:00
Nikolay Krasko 3c3b1bb5e4 Support auto-mute in parametrized JUnit 4 tests 2020-02-28 11:36:33 +03:00
Nikolay Krasko f042b04320 Minor: remove unneeded class 2020-02-28 11:36:32 +03:00