Toshiaki Kameyama
9b3c3ae4ba
"Replace 'invoke' with direct call" intention: do not add unnecessary parenthesis
...
#KT-37967 Fixed
2020-04-15 09:59:23 +02:00
Toshiaki Kameyama
2f29b38b19
"Replace 'invoke' with direct call" intention: fix false positive when function is not operator
...
#KT-37977 Fixed
2020-04-15 09:16:50 +02:00
Mikhail Zarechenskiy
e0da30fb13
Remove JavaResolverUtils.java as its usages were moved to core
2020-04-15 02:37:35 +03:00
Mikhail Zarechenskiy
9607739d30
Introduce synthetic scope for constructors of fun interfaces
...
#KT-37434 Fixed
2020-04-15 02:37:34 +03:00
Mikhail Zarechenskiy
e9e21caeaf
Refactoring: move utils to create & initialize SAM constructors to core
2020-04-15 02:29:57 +03:00
Mikhail Zarechenskiy
04223f5711
Extract Java specific check from common method out
...
This is needed for further refactoring
2020-04-15 02:29:53 +03:00
Mikhail Zarechenskiy
cf90fe81ac
Move Sam(TypeAlias)ConstructorDescriptor to core
2020-04-15 02:06:32 +03:00
Mikhail Zarechenskiy
54497d11ac
Move SyntheticMemberDescriptor.kt to core
...
This is a first part of unification SAM constructors for all platforms
2020-04-15 02:06:32 +03:00
simon.ogorodnik
6d3dccab83
[FIR] Fix obsolete transforms & visit consistency
2020-04-14 20:05:47 +03:00
Nicolay Mitropolsky
738e2f813c
Uast: expression type for assigning arrays (KT-34187)
2020-04-14 18:27:34 +03:00
Nicolay Mitropolsky
9674643254
Uast: support for UYieldExpression (KT-35574)
2020-04-14 18:27:34 +03:00
Dmitriy Dolovov
0a2429c6f6
Minor. Remove redundant import
2020-04-14 21:14:33 +07:00
Dmitriy Dolovov
c3e20bffd7
Fix launching Gradle import test from master
...
No need to depend on org.jetbrains.kotlin:kotlin-native-utils artifact.
It's already packed inside of kotlin-compiler.jar
2020-04-14 21:08:04 +07:00
Dmitriy Dolovov
c35420eaf6
Minor. Add comments
2020-04-14 21:07:59 +07:00
Dmitriy Dolovov
7be9a2ef17
HMPP. Avoid leaking platform-specific dependencies into common libraries
...
Issue #KMM-217
2020-04-14 21:07:54 +07:00
Dmitriy Dolovov
b67a48f220
HMPP. Rewrite LibraryDependenciesCache on using LibraryInfo/SdkInfo
...
... instead of pure IJ Library/SDK.
2020-04-14 21:07:49 +07:00
Dmitriy Dolovov
6d0e73191c
HMPP: Fix detection of NativePlatform in CompositeResolverForModuleFactory
2020-04-14 21:07:44 +07:00
Dmitriy Dolovov
757d77600a
HMPP: Evaluate exact TargetPlatform for each K/N KLIB library
2020-04-14 21:07:38 +07:00
Dmitriy Dolovov
90398fd087
Minor. Specify explicit property types
2020-04-14 21:07:33 +07:00
Dmitriy Dolovov
753ef971f9
HMPP: Fix serialization of TargetPlatform in tests
2020-04-14 21:07:27 +07:00
Dmitriy Dolovov
fee6a752e0
HMPP: Fix serialization of TargetPlatform in Kotlin facet
2020-04-14 21:07:22 +07:00
Dmitriy Dolovov
adc457548b
Minor. Formatted
2020-04-14 21:07:16 +07:00
Dmitriy Dolovov
e3e1c2cb3b
HMPP: Fix detection of PlatformDependentAnalyzerServices for TargetPlatform
2020-04-14 21:07:11 +07:00
Dmitriy Dolovov
76b0e7994b
JVM, JS: Use faster checks in IdePlatformKind.supportsTargetPlatform()
2020-04-14 21:07:06 +07:00
Dmitriy Dolovov
0f60b5a71e
HMPP: Avoid false positive detection of "common native" as "common"
2020-04-14 21:07:00 +07:00
Dmitriy Dolovov
b108b0f8c4
HMPP. Fix tests after parameterization of NativePlatform
2020-04-14 21:06:54 +07:00
Dmitriy Dolovov
8d2e999776
HMPP: Parameterize NativePlatform with KonanTarget
2020-04-14 21:06:48 +07:00
Dmitriy Dolovov
1b281d623b
HMPP: Propagate K/N flavor into each imported K/N module
2020-04-14 21:06:42 +07:00
Dmitry Gridin
585177bcf7
Formatter: fix indent for multiline expression in string template
...
#KT-35359 Fixed
2020-04-14 13:54:12 +00:00
Dmitry Gridin
decbe99391
Merge KotlinCodeStyleSettingsProvider to KotlinLanguageCodeStyleSettingsProvider
2020-04-14 19:46:56 +07:00
Dmitry Gridin
d04f63b7ab
Make settings searchable
...
#KT-31169 Fixed
#KT-38217 Fixed
2020-04-14 19:44:35 +07:00
Ilya Goncharov
fbac2f5ea3
[Gradle, JS] Make inputFileProperty optional
2020-04-14 15:42:29 +03:00
Ilya Chernikov
4ecedf2e3b
Get rid of KTUsefulTestCase, improve stability of the tests
2020-04-14 14:15:11 +02:00
Mikhail Bogdanov
850681f5e3
Rollback JVM 8 target support on Android
2020-04-14 13:58:30 +02:00
Mikhail Bogdanov
dec93c8b49
Add ANDROID target
2020-04-14 13:53:22 +02:00
Mikhail Bogdanov
9d68db1668
Switch usages android build tools from 23.0.1 to 28.0.3
2020-04-14 13:53:22 +02:00
Mikhail Bogdanov
b0e72f90f1
Android tests: add reflect flavor
2020-04-14 13:53:22 +02:00
Mikhail Bogdanov
115cf4666e
Get rid of CodegenTestCase from CodegenTestsOnAndroidGenerator superclass
2020-04-14 13:53:22 +02:00
Vladimir Dolzhenko
b0483a67c2
Perform tryLock-and-checkCanceled on waiting lock in LockBasedStorageManager
...
Relates to #KT-38012
2020-04-14 13:11:30 +02:00
Vladimir Dolzhenko
6fae29bcc0
Add more checkCanceled to PsiFacade.findClass
...
Relates to #KT-38012
2020-04-14 13:11:11 +02:00
Vladimir Ilmov
ed56aa3e0d
NPE fix in StackFrameInterceptor
2020-04-14 11:16:58 +02:00
Jinseong Jeon
08b91da6db
FIR: fix body generation for data class's copy method
2020-04-14 11:51:30 +03:00
Jinseong Jeon
948f9debdc
FIR: refactor member generations for data class
2020-04-14 11:51:30 +03:00
Mark Punzalan
d4cbfcb79e
[FIR] Promote numeric types during comparisons
...
Added support for comparing platform types. Extracted logic to convert
operator expressions to OperatorExpressionGenerator.
2020-04-14 11:51:30 +03:00
Roman Artemev
1d9967013b
[JS IR IC] Mute failing test
2020-04-14 11:12:08 +03:00
Roman Artemev
766b8bf74b
[KLIB MPP] Mute broken test
...
- To fix this test `ExpectActualTable` has to be refactored from usage
of descriptors to IdSignature since Wrapped and Deserialized descriptors
for the same declaration are not equal to each other.
2020-04-14 11:12:08 +03:00
Roman Artemev
cd931796bc
[SERIALIZATION] Fix kotlinx.serialization plugin
2020-04-14 11:12:08 +03:00
Roman Artemev
a9788f9506
[KLIB] Create an abstract class for module deserializer
...
- Introduce Ir-based Functional interface factory
- Switch from LazyIr to pure
- Use kotlin library to access raw bytes
- Link dirty files against IC cache and dependencies instead of LazyIr
- Move `DescriptorByIdSignatureFinder` from K/N to common
- Support inline-bodies only MODE
2020-04-14 11:12:08 +03:00
Roman Artemev
74132fbc03
[KLIB] Fix IO API
...
- Implement abstract IR raw data readers
- Add file and memory based specializations of IR data readers
2020-04-14 11:12:07 +03:00
Roman Artemev
5385e0cf1c
[IR] Un-private stub generator
2020-04-14 11:12:07 +03:00