Denis Zharkov
957e7cd5f3
Optimize searching constructor delegation calls
...
^KT-28755 Fixed
2018-12-11 16:12:28 +03:00
Denis Zharkov
9e07b0d31a
Minor. Reformat usagesSearch/utils.kt
2018-12-11 16:12:28 +03:00
Roman Artemev
2b436b493c
Move test from js to common part
2018-12-11 16:11:01 +03:00
Alexey Tsvetkov
b6c975739c
Deprecate AP discovery in compile configurations in Gradle
...
#KT-24368 Fixed
2018-12-11 16:08:16 +03:00
Alexey Tsvetkov
d6459e6c49
Add option to disable AP discovery in compile classpath
...
#KT-24530 Fixed
To disable discovery and enable avoidance for kapt tasks,
use "kapt.includeCompileClasspath = false"
2018-12-11 16:08:16 +03:00
Simon Ogorodnik
445c85f829
Support overriding module/library/sdk for particular light PsiClass
...
To support light R classes
2018-12-11 15:46:11 +03:00
Ilmir Usmanov
7f9e91eabe
Use File.pathSeparator instead of :
2018-12-11 15:08:34 +03:00
Dmitry Petrov
08d1c47ac3
KT-14227 Intrinsify MutableMap.set
...
This fixes the most common (and rather annoying) bug in augmented
assignment desugaring with collection element receiver.
Fix is somewhat hackish: introduce an intrinsic for MutableMap.set,
thus bypassing discrepancies in 'get' and 'set' call generation.
Fixing it properly requires design decisions for corner cases where
ad hoc augmented assignment desugaring with collection element receiver
"accidentally" works, producing identical objects and vararg arrays for
arguments of 'get' and 'set'.
2018-12-11 12:43:03 +03:00
Yan Zhulanow
9a98a4525b
ServiceLoaderLite: Support paths with spaces (KT-28527)
2018-12-11 17:45:46 +09:00
Mikhail Zarechenskiy
e8a8318ead
[NI] Fix input/output types for callable reference atom
...
Input and output types are crucial for type variable fixation order and
analysis of postponed arguments (callable references, lambdas).
Specifically, if there is non-fixed type variable inside input types of
a callable reference, then we'll postpone resolution for such callable
reference.
Initial example with the expected type `KMutableProperty1<*, F>` caused
problems because input types were computed incorrectly (while there
aren't input types here)
#KT-25431 Fixed
2018-12-11 11:33:29 +03:00
Mikhail Zarechenskiy
6ebbb6eae3
[NI] Fix not-null smartcast on intersection of nullable types
...
#KT-28670 Fixed
2018-12-11 11:29:59 +03:00
Mikhail Zarechenskiy
383c2d1bff
[NI] Take into account captured types for type depth computation
...
It's needed to estimate the count of steps for type approximation algorithm.
After the estimated count of steps, we consider such type recursive and this
algorithm returns some default value
#KT-28598 Fixed
2018-12-11 11:29:55 +03:00
Denis Zharkov
ddb4e8b128
Temporary remove some tests after a fix for KT-24937
...
Otherwise, our project is failed to be indexed
2018-12-11 09:45:39 +03:00
Denis Zharkov
5992896d76
Relax assertion in parser for a recovery case with annotations
...
^KT-24937 Fixed
2018-12-11 09:45:14 +03:00
Nicolay Mitropolsky
3727fabb0f
AddConstModifierFix and AddReifiedToTypeParameterOfFunctionFix updated to implement invokeImpl
2018-12-11 08:46:02 +03:00
Dmitry Batkovich
654f728c12
AddModifierFix and RemoveModifierFix made extend KotlinCrossLanguageQuickFixAction
2018-12-11 08:46:02 +03:00
Georgy Bronnikov
2b0ec8abe3
Update tests
2018-12-10 17:26:55 +03:00
Georgy Bronnikov
5dd9cfca4d
Repair after merge
2018-12-10 17:26:55 +03:00
Georgy Bronnikov
a695e21e44
Introduce IrLazyProperty
2018-12-10 17:26:55 +03:00
Georgy Bronnikov
f4a189fe82
Change order of arguments in IrValueParameter.copyTo
2018-12-10 17:26:55 +03:00
Georgy Bronnikov
c018109bca
React to review comments
2018-12-10 17:26:55 +03:00
Georgy Bronnikov
c9343c89bc
Mark java external declarations in IrFunction.origin
2018-12-10 17:26:55 +03:00
Georgy Bronnikov
1764423860
JVM_IR. Mostly remove descriptors from InterfaceDelegationLowering
2018-12-10 17:26:55 +03:00
Georgy Bronnikov
cbc46fe6e4
JVM_IR. Mostly remove descriptors from InterfaceLowering
...
Descriptors are only used to generate a new method name via a call to
KotlinTypeMapper.
2018-12-10 17:26:55 +03:00
Georgy Bronnikov
55b65546fa
IR. Take care of type parameters for calls in DefaultArgumentStubGenerator
2018-12-10 17:26:55 +03:00
Georgy Bronnikov
bba711a189
JVM_IR. Remove descriptors from ConstAndJvmFieldPropertiesLowering
2018-12-10 17:26:55 +03:00
Georgy Bronnikov
41da078de5
IR. Create IrAnonymousInitializerSymbolImpl using a class symbol
2018-12-10 17:26:55 +03:00
Georgy Bronnikov
481bef9799
JVM_IR. Copy annotations properly in MoveCompanionObjectFieldsLowering
2018-12-10 17:26:55 +03:00
Georgy Bronnikov
a5fea34f12
Remove some dead code
2018-12-10 17:26:55 +03:00
Georgy Bronnikov
bf4f552478
IR. Remove descriptors from KCallableNamePropertyLowering
2018-12-10 17:26:55 +03:00
Simon Ogorodnik
33f937c923
Remove property with @JvmDefault to make test pass
...
In sake of #KT-28708
2018-12-10 16:08:54 +03:00
Simon Ogorodnik
2165cfe91d
JavaAgainstKotlinBinaries: Allow specifying extra compiler options
2018-12-10 16:08:53 +03:00
Simon Ogorodnik
bd774766f1
Add test debug logging for PerModulePackageCacheService
2018-12-10 16:08:52 +03:00
Simon Ogorodnik
e3b181e412
Restore processing of delete events
2018-12-10 16:08:51 +03:00
Dmitry Petrov
8ede477f99
KT-28585 Fix boxing for values of captured vars of inline class type
2018-12-10 14:57:09 +03:00
Dmitry Petrov
45035d3e11
KT-28405 Fix toString for inline classes with underlying arrays
2018-12-10 14:57:09 +03:00
Dmitry Savvinov
500dc11514
Fix missed returned expression if the last expression was condition jump
...
See ticket comments for the detailed description
^KT-28061 Fixed
2018-12-10 13:38:43 +03:00
Dmitry Savvinov
c9e87bf353
Add test on in-place lambda with return + safecall
...
Currently, diagnostics behavior is undesired. The next commit fixes it
^KT-28061 In Progress
2018-12-10 13:38:43 +03:00
Nicolay Mitropolsky
b918786336
Uast: enabling multiresolve by default
2018-12-10 13:26:25 +03:00
Toshiaki Kameyama
07ffac72cf
Assign backing field: don't add empty line
...
#KT-28694 Fixed
2018-12-10 12:06:55 +03:00
Mikhail Glukhikh
79537a5fdb
Fix check in isSameRootType. May fix KT-28626. Related to KT-27718
2018-12-07 18:57:09 +03:00
victor.petukhov
6c4f255393
Actualize PSI spec tests after fix KT-27762
2018-12-07 18:35:43 +03:00
victor.petukhov
60def724be
Fix invalid package pattern in spec tests parser
2018-12-07 18:35:43 +03:00
victor.petukhov
b9d1825765
Implement tests exceptions fixation mechanism
2018-12-07 18:35:43 +03:00
Nikolay Krasko
8da9bdf928
Relax package convention name inspection for Kotlin project
2018-12-07 18:32:10 +03:00
Nikolay Krasko
2373c9d838
Allow underscore in packages and forbid uppercase letters (KT-27900)
2018-12-07 18:32:09 +03:00
Nikolay Krasko
e0d3abc819
Do not indent and align initializer list in enums (KT-28070)
...
#KT-28070 Fixed
2018-12-07 18:32:07 +03:00
Nikolay Krasko
bbf05eaaba
Fix test compilation because of using HierarchyViewTestFixture in <= 181
2018-12-07 18:24:41 +03:00
Shagen Ogandzhanian
1f0bca12e1
Leave undefined values for undefined params in idl-generated code unassigned
...
https://upsource.jetbrains.com/kotlin/review/KOTLIN-CR-2535
2018-12-07 16:05:00 +01:00
Roman Artemev
1ad2434fa0
Add changelog for 1.3.11
2018-12-07 17:58:20 +03:00