Dmitry Petrov
062c4bf41d
IrTypes: make old DeepCopy compile
...
Lots of TODOs, should figure out proper type mapping strategy
(or simply drop this frankenstein code, finally).
2018-06-29 11:24:46 +03:00
Dmitry Petrov
62a42130c8
Add dependency: ir.tree -> intellij
...
AnnotationGenerator looks into PsiElement
2018-06-29 11:24:46 +03:00
Dmitry Petrov
c22f6dee4a
IrTypes: update minor utilities
2018-06-29 11:24:46 +03:00
Dmitry Petrov
e8fe788df6
IrTypes: Implicit casts, take 1
...
Keep KotlinType along with IrTypes created by psi2ir.
2018-06-29 11:24:46 +03:00
Dmitry Petrov
54e9a2bb7b
IrTypes in psi2ir: generators (seem to be) complete
2018-06-29 11:24:46 +03:00
Dmitry Petrov
5f4f6ef863
IrTypes in psi2ir (work in progress)
2018-06-29 11:24:46 +03:00
Dmitry Petrov
0774ca415c
Rebase + reformat
2018-06-29 11:24:46 +03:00
Dmitry Petrov
0f718ec2d8
IrTypes: Fix up some back-end code
2018-06-29 11:24:46 +03:00
Dmitry Petrov
326e4a160f
IrTypes in psi2ir (work in progress)
2018-06-29 11:24:46 +03:00
Dmitry Petrov
0e34ee5270
IrTypes: basic built-in types
2018-06-29 11:24:46 +03:00
Dmitry Petrov
c97697d7a9
psi2ir: translate types in StatementGenerator
...
TODO: DI
2018-06-29 11:24:46 +03:00
Dmitry Petrov
372f280578
DeclarationStubGenerator uses IrTypes
2018-06-29 11:24:46 +03:00
Dmitry Petrov
1353cf879c
IR: Drop obsolete builders (should be rewritten)
2018-06-29 11:24:46 +03:00
Dmitry Petrov
f66f3c1fed
psi2ir: cleanup TypeTranslator
2018-06-29 11:24:46 +03:00
Dmitry Petrov
4bd2504367
IR declarations: KotlinType -> IrType
2018-06-29 11:24:46 +03:00
Dmitry Petrov
4992ca9179
IR expressions: KotlinType -> IrType
2018-06-29 11:24:46 +03:00
Dmitry Petrov
c28877d23c
psi2ir: approximate types in TypeTranslator
2018-06-29 11:24:46 +03:00
Dmitry Petrov
1be28d6032
IrType -> IrDynamicType, IrErrorType, IrSimpleType
2018-06-29 11:24:46 +03:00
Mikhail Glukhikh
fdc0335b4a
Add actual: handle (incorrect) case with expect function with body
...
So #KT-23326 Fixed
2018-06-29 10:54:37 +03:00
Mikhail Glukhikh
0fb183e302
Add actual: handle parameters with val/var as compatible with property
...
So #KT-23762 Fixed
2018-06-29 10:54:36 +03:00
Mikhail Glukhikh
dd0b267531
Add actual: handle primary & secondary constructors as compatible
...
So #KT-23686 Fixed
2018-06-29 10:54:35 +03:00
Mikhail Glukhikh
082c3e6767
Reformat: AddActualFix
2018-06-29 10:54:33 +03:00
Mikhail Glukhikh
16c6d63b10
Create actual: do not generate default parameter values
...
So #KT-23105 Fixed
2018-06-29 10:54:32 +03:00
Mikhail Glukhikh
b13e4535f5
Safe delete: add dialog asking about expect / actual declarations
...
Related to KT-15666
2018-06-29 10:54:30 +03:00
Mikhail Glukhikh
aac71bf904
Safe delete: when invoking on actual, delete expect & actual neighbors
...
So #KT-15666 Fixed
2018-06-29 10:54:24 +03:00
Mikhail Glukhikh
50e70e4638
Safe delete: when invoking on expect, delete also relevant actual
...
Partial fix of KT-15666
2018-06-29 10:53:43 +03:00
Mikhail Glukhikh
465d5c077e
Safe delete: search for actual declarations more accurately
2018-06-29 10:53:42 +03:00
Mikhail Glukhikh
5bdaef4983
Cleanup: KotlinSafeDeleteProcessor
2018-06-29 10:53:42 +03:00
Alexey Tsvetkov
8848d7a043
Remove groovy plugin from kotlin-gradle-plugin build script
2018-06-28 22:03:11 +03:00
Alexey Tsvetkov
22c1907167
Track project version in ":kotlin-gradle-plugin:processResources"
...
Before the change consecutive incremental builds with different project versions
produced kotlin-gradle-plugin with the same project.version in project.properties file
2018-06-28 22:03:11 +03:00
Alexey Tsvetkov
3a7c674957
Fix test dependencies in jps-plugin
...
Otherwise tests fail on clean checkout
2018-06-28 22:03:10 +03:00
Alexey Sedunov
a63aa5b7ca
Misc: Restore utility functions misplaced in a previous commit
2018-06-28 20:39:16 +03:00
Alexey Sedunov
76ac65f723
Configuration: Use soft references to keep library kind cache
...
#KT-24943 Fixed
2018-06-28 18:22:28 +03:00
Alexey Sedunov
60583e557f
PSI: Do not delete package directive for file in default package
...
#KT-24968 Fixed
2018-06-28 18:22:28 +03:00
Alexey Sedunov
e2a632e326
Misc: Add "refactoring exit" message
...
This allows executing mandatory code at the end of particular refactoring.
Also this fixes memory leak due to listener not being disposed
#KT-17235 Fixed
2018-06-28 18:22:28 +03:00
Alexey Sedunov
ba2f28720f
Introduce Parameter: Fix exceptions caused by write actions in dialogs
...
#KT-24992 Fixed
2018-06-28 18:22:27 +03:00
Alexey Sedunov
ed597e2da5
Extract Function: Make compliant with PublicApiImplicitTypeInspection
2018-06-28 18:22:27 +03:00
Alexey Sedunov
633c67ebf0
Misc: Use KtToken to represent visibility in ExtractableCodeDescriptor
2018-06-28 18:22:27 +03:00
Mikhael Bogdanov
b1693acfcd
Unmute smap test in ir
2018-06-28 17:12:09 +02:00
Alexey Sedunov
83745010ba
Search Everywhere: Update renderer to reflect changes in IDEA
...
#KT-24812 Fixed
2018-06-28 17:52:05 +03:00
Alexey Sedunov
31d248c42d
Search Everywhere: Use Kotlin renderer for Kotlin elements only
2018-06-28 17:52:05 +03:00
Alexey Sedunov
bede2e1c16
Extract Interface: Fix type import when converting parameter to property
...
#KT-18736 Fixed
2018-06-28 17:52:05 +03:00
Alexey Sedunov
9b7450cfdb
Extract Superclass: Report private members used in abstracted members
...
#KT-16284 Fixed
2018-06-28 17:52:04 +03:00
Alexey Sedunov
bd88e02172
Extract Superclass: Fix visibility lifting when moving to interface
...
#KT-16281 Fixed
2018-06-28 17:52:04 +03:00
Alexey Sedunov
b0e0460ee6
Extract Superclass: Allow extraction to existing file
...
#KT-15351 Fixed
2018-06-28 17:52:04 +03:00
Alexey Sedunov
5ef54a2f03
Extract Superclass: Run refactoring inside of transaction
...
#KT-18555 Fixed
2018-06-28 17:52:03 +03:00
Nikolay Krasko
87f4d0c5a4
Move "Copy Current File As Diagnostic Test" action to internal (KT-25164)
...
#KT-25164 Fixed
2018-06-28 16:02:14 +03:00
Nikolay Krasko
c68284030d
Check files is valid before searching for children (EA-113417)
2018-06-28 16:02:14 +03:00
Alexander Udalov
8c8d0eefbb
Relocate package org.jetbrains.kotlin in kotlinx-metadata-jvm
...
To prevent clashes in scenarios where it's used together with the Kotlin
compiler (e.g. in annotation processing)
#KT-24945 Fixed
2018-06-28 14:39:53 +02:00
Mikhail Zarechenskiy
173bcd90df
Simplify lexer rule for typed integers
2018-06-28 13:32:10 +03:00