Alexey Sedunov
14362134bd
Extract Function: Traverse nested pseudocode instructions
...
#KT-5178 Fixed
2014-06-23 19:32:31 +04:00
Alexey Sedunov
c7d8ab8219
Extract Function: Add support of property-as-function calls
...
#KT-5179 Fixed
2014-06-23 19:32:30 +04:00
Alexey Sedunov
6bc3772d29
Override/Implement: Add test to cover import optimization in the case of multiple import insertion (see #KT-4732)
2014-06-23 19:32:29 +04:00
Alexey Sedunov
5be7eb8a5c
Shorten References: Do not optimize imports until shortening is finished
...
#KT-5227 Fixed
2014-06-23 19:32:27 +04:00
Alexey Sedunov
53c49b6333
Shorten References: Do not shorten qualified expression if receiver values are changed
...
#KT-5180 Fixed
2014-06-23 19:32:26 +04:00
Natalia Ukhorskaya
a17bcce682
Add tests for exceptions from evaluate expression
2014-06-23 17:39:53 +04:00
Natalia Ukhorskaya
28cbe95e0c
Generate invokeSpecial for all private functions
2014-06-23 17:17:42 +04:00
Natalia Ukhorskaya
3edd6b52cf
Evaluate expression: test cache using logger
2014-06-23 17:17:40 +04:00
Natalia Ukhorskaya
b5f6df3144
Cache bytecodes for JetCodeFragment in Evaluate Expression
2014-06-23 17:17:39 +04:00
Natalia Ukhorskaya
f4b01b5f47
Correct context element for watches
2014-06-23 17:17:37 +04:00
Natalia Ukhorskaya
a593738ca6
Refactoring: extract method
2014-06-23 17:17:36 +04:00
Natalia Ukhorskaya
7671962284
Evaluate expression: move helper methods for extract function to separate file
2014-06-23 17:17:36 +04:00
Natalia Ukhorskaya
03d2e89c6b
Fix typo
2014-06-23 17:17:35 +04:00
Natalia Ukhorskaya
906a3ea905
Evaluate expression: test with doubles
2014-06-23 17:17:35 +04:00
Svetlana Isakova
9d4aad3bbc
Extracted 'generateBooleanOperation'
...
Generate magic instruction for '&&, ||' in condition as well
2014-06-21 12:26:34 +04:00
Svetlana Isakova
79cec6411d
Mark only unreachable parts of element if it has reachable parts
...
like for 'return todo()' mark only 'return'
2014-06-21 12:26:33 +04:00
Pavel V. Talanov
fc19f1db44
Minor: improve assertion message in SpecifyTypeExplicitlyFix
2014-06-20 22:23:24 +04:00
Zalim Bashorov
247808e17b
IDEA plugin: fixed crashing ifExpressionToElvis intention when applying to if expression which is part of another expression.
...
#EA-57307 fixed
2014-06-20 16:42:42 +04:00
Andrey Breslav
e2c5d9edf6
Support reporting errors on class objects and any classes or objects contained anywhere
2014-06-19 22:12:02 +04:00
Andrey Breslav
f0da5d570e
Do not report "accidental overrides" when "override" modifier is specified
2014-06-19 22:12:01 +04:00
Andrey Breslav
42aa9e2378
Minor. Utility moved to a common place
2014-06-19 22:10:56 +04:00
Andrey Breslav
f229301a0f
More informative diagnostic messages for ACCIDENTAL_OVERRIDES and CONFLICTING_JVM_DECLARATIONS
...
#KT-1 In Progress
2014-06-19 22:10:55 +04:00
Andrey Breslav
27f76630e6
ACCIDENTAL_OVERRIDE diagnostics supported
...
#KT-1 In Progress
2014-06-19 22:10:55 +04:00
Andrey Breslav
d2ce6f5787
Safe identifier for the case of no name in PSI moved to 'descriptors' module, to be used in 'descriptor.loader.java'
2014-06-19 22:10:52 +04:00
Andrey Breslav
bb581bb645
Only normalize names when accessing PSI, not earlier
...
#KT-4833 Fixed
2014-06-19 22:10:52 +04:00
Andrey Breslav
f3c46341e5
Filtering out duplicate signature diagnostics if CONFLICTING_OVERLOADS or REDECLARATION is present
2014-06-19 22:10:51 +04:00
Andrey Breslav
f79ddbd523
Minor. Passing Diagnostics instead of BindingContext
2014-06-19 22:10:50 +04:00
Andrey Breslav
91136ada27
Filtering duplicate diagnostics for package facades and package parts
2014-06-19 22:10:49 +04:00
Andrey Breslav
38333d6cea
CONFLICTING_PLATFORM_DECLARATIONS moved to a JVM-specific class
2014-06-19 22:10:48 +04:00
Andrey Breslav
22c47c2f82
Highlight only declarations, without body, on platform signature clashes
2014-06-19 22:10:48 +04:00
Andrey Breslav
27e61a75a1
Diagnostic tests for duplicate JVM signatures
2014-06-19 22:10:46 +04:00
Andrey Breslav
d25b2459d4
Report clashing signatures in the IDE
...
Expose extra diagnostics about platform signature clashes from light class data
#KT-1 In Progress
2014-06-19 22:10:45 +04:00
Andrey Breslav
9b3f9fb70d
Cache KotlinLightClassForPackage instances per project
2014-06-19 22:10:45 +04:00
Andrey Breslav
3ac3027e16
Compilation fixed
2014-06-19 22:10:45 +04:00
Andrey Breslav
eb31be2871
DiagnosticHolder added to GenerationState
2014-06-19 22:10:44 +04:00
Alexey Sedunov
c7e4f1d02e
Pseudocode: Divide instruction classes into packages
2014-06-19 22:04:36 +04:00
Alexey Sedunov
eabe2fcc8a
Pseudocode: Translate instruction classes to Kotlin
2014-06-19 22:04:34 +04:00
Evgeny Gerashchenko
92849dda3b
Serializing incremental package fragment from our module instead of random one.
2014-06-19 13:41:27 +04:00
Evgeny Gerashchenko
aa41ae09ed
Merge remote-tracking branch 'origin/master' into incremental
2014-06-19 11:43:59 +04:00
Evgeny Gerashchenko
f6129732a2
Writing incrementalCache attribute to <modules> element of xml module script
2014-06-19 01:03:59 +04:00
Evgeny Gerashchenko
06cafe7f12
Replaced passing MemberFilter to constructor with method overriding.
2014-06-19 01:03:58 +04:00
Evgeny Gerashchenko
d3e5790674
Passing custom class loader for loading incremental cache implementation.
2014-06-18 22:56:44 +04:00
Evgeny Gerashchenko
07365dca1d
Extracted interface and moved implementation of IncrementalCache to jps-plugin, accessing cache via Java service loader.
2014-06-18 22:56:43 +04:00
Evgeny Gerashchenko
820bd911fb
Supported cases of removing source files from package fragment.
2014-06-18 22:56:43 +04:00
Evgeny Gerashchenko
a82849f289
Removed member filter from injectors.
2014-06-18 22:56:33 +04:00
Evgeny Gerashchenko
ca1ee69e4c
Loading descriptors from incremental cache instead of package classes.
2014-06-18 22:56:33 +04:00
Evgeny Gerashchenko
b65f6e1e0e
KT-2303 Support loading private class members from bytecode
...
#KT-2303 obsolete
2014-06-18 19:52:12 +04:00
Pavel V. Talanov
f8e5fa1b2f
Rename: AnnotationDeserializer, ConstantDeserializer -> *Loader
2014-06-17 18:19:04 +04:00
Pavel V. Talanov
b9b0bba7a0
Refactor: Introduce contexts in deserialization subsystem
...
Rewrite utilities to Kotlin and move them out of DescriptorDeserializer
Include DescriptorDeserializer into context
Use new context in injectors
Drop Deserializers abstraction
2014-06-17 18:18:57 +04:00
Evgeny Gerashchenko
381e8bb205
Extracted PackagePartClassUtils.
2014-06-16 23:30:24 +04:00