Nikolay Krasko
87b628a3f7
Generate 'nop' instruction on lambda call when everything on line is going to be eliminated by inliner (KT-6477)
...
(cherry picked from commit 462bdb2)
#KT-6477 Fixed
2016-10-14 14:52:06 +03:00
Yoshinori Isogai
708a0e3b5d
KT-14329 Do not report inspection "Remove empty class body" for anonymous objects ( #972 )
2016-10-14 13:00:55 +02:00
Valentin Kipyatkov
76fe1ec0d9
KT-14353 ClassCastException during offline inspections
...
#KT-14353 Fixed
2016-10-13 21:51:38 +03:00
Alexey Sedunov
3eb5076a7c
Rename: Fix in-place rename on non-overriding functions
2016-10-13 19:01:00 +03:00
Alexey Sedunov
c6c65b1a20
Kotlin Facet: Initial implementation
2016-10-13 19:00:59 +03:00
Alexey Sedunov
5c2ad48375
Introduce Variable: Do not replace assignment left-hand sides
...
#KT-14240 Fixed
2016-10-13 19:00:58 +03:00
Alexey Sedunov
ec00b9f3ea
Intentions: Implement "Convert sealed class to enum" intention
...
#KT-14245 Fixed
2016-10-13 19:00:57 +03:00
Alexey Sedunov
2187a77646
Intentions: Implement "Convert enum to sealed class" intention
...
#KT-14245 In Progress
2016-10-13 19:00:56 +03:00
Alexey Sedunov
02e8d58acd
Rename: Forbid on backing field reference
...
#KT-14285 Fixed
2016-10-13 19:00:55 +03:00
Alexey Sedunov
c23c16f1a3
Extract Superclass/Interface: Add filename field to the dialog
2016-10-13 19:00:54 +03:00
Simon Ogorodnik
d731f97c7d
Fix KT-13021, KT-13020, Test for already fixed KT-6941
...
Fixes on javadoc to kdoc comments convert
2016-10-13 18:52:31 +03:00
Dmitry Petrov
8d634f6003
KT-14274: resolve type alias constructors calls in supertypes list as type alias constructors.
...
Support @Deprecated for type aliases, including type alias constructors.
2016-10-13 17:52:21 +03:00
Dmitry Petrov
d2d8f72ffc
Annotations on type aliases: typealias is not a "default target".
...
Add diagnostic test for annotations on type aliases.
2016-10-13 17:52:21 +03:00
Dmitry Jemerov
7263109413
advance until-build to 171.*
2016-10-13 16:15:07 +02:00
Dmitry Jemerov
b1b171fbc5
correct way to check if intention is applicable; revert: Delete test that is transformed syntax error
2016-10-13 15:45:55 +02:00
takahirom
925c48c2f0
Fix 'in' operator intention for Strings (KT-13974)
2016-10-13 15:45:30 +02:00
Valentin Kipyatkov
29fe63d5a9
More correct code - ensure that equals works correctly!
2016-10-13 15:56:18 +03:00
Valentin Kipyatkov
0399772ee6
KT-9835 Completion thinks receiver is nullable when it is not
...
#KT-9835 Fixed
2016-10-13 15:11:19 +03:00
Valentin Kipyatkov
7b12dd498f
KT-13780 No completion and assertion error in log
...
#KT-13780 Fixed
2016-10-13 15:10:53 +03:00
Ilya Chernikov
d8ecd2641d
Fix script tests output comparison and idea jsr223 test dependency on windows
2016-10-12 20:16:15 +02:00
Simon Ogorodnik
e7635652bc
Fix for KT-14205
...
If detected unfinished expression it passed through, added warning on action "Convert Java to Kotlin", if Java files contains syntax errors.
2016-10-12 19:01:58 +03:00
Alexander Udalov
2f616bdd33
Drop ModuleParameters, inline defaultImports everywhere
2016-10-12 17:07:09 +03:00
Ilya Chernikov
846797ff61
Switch to templates in the separate script runtime
2016-10-12 15:38:52 +02:00
Ilya Chernikov
c2b5c11781
Fix all small and medium-sized issues after review
2016-10-12 15:37:54 +02:00
Ilya Chernikov
10d259771c
Refactor repl and JSR 223 support code, add separate example jars for each type of JSR 223 repl (with tests)
2016-10-12 15:37:52 +02:00
Ilya Chernikov
bf0d5b6237
Add basic bindings support to IDEA JSR223 scripting, fix evaluator
2016-10-12 15:37:51 +02:00
Ilya Chernikov
063fbed75e
Fix params handling in JSR 223 for Idea, add simple test
2016-10-12 15:37:51 +02:00
Ilya Chernikov
fe69185cd4
Refactor script definition and related parts:
...
- simplify script definition interface, convert it to class
- create simple definitions right from base
- refactor (rename and simplify) script definition with annotated template
- simplify usages of script definition in many places
2016-10-12 15:37:50 +02:00
Ilya Chernikov
6bc488d95d
Implement JSR 223 engine and factory for IDEA using daemon repl
2016-10-12 15:37:49 +02:00
Ilya Chernikov
63c5133167
Remove support for xml-based script configs, other minor refactorings
2016-10-12 15:37:47 +02:00
Ilya Chernikov
0f31695a0b
Convert error on retrieving gradle plugin settings to warning - fixes #KT-13975, #EA-87275, #EA-87677 and alike
2016-10-12 15:37:47 +02:00
Alexander Udalov
88af36001c
Introduce DeserializationConfiguration
...
Will be used soon to deliver the language/API-version-related behavior to the
deserialization
2016-10-12 12:19:17 +03:00
Denis Zharkov
05aa9a5682
Add a quickfix for warning on ambiguously annotated expression
...
#KT-14238 Fixed
2016-10-12 11:40:16 +03:00
Denis Zharkov
84153f9636
Add warning for ambiguous annotated expression syntax
...
#KT-14238 In Progress
2016-10-12 11:40:12 +03:00
Simon Ogorodnik
1a7c507cc5
Fix for KT-13818
...
Javadoc @code conversion
2016-10-12 11:08:49 +03:00
Valentin Kipyatkov
03320d6559
Use partial resolve
2016-10-11 23:38:55 +03:00
Valentin Kipyatkov
968a6cfd04
DescriptorRenderer to skip @ExtensionFunctionType and @ParameterName only when it's redundant
2016-10-11 23:38:54 +03:00
Valentin Kipyatkov
ec51076355
DescriptorRenderer to render annotations for all types + separate option to render annotation arguments + use it in IdeDescriptorRenderers
2016-10-11 23:38:54 +03:00
Valentin Kipyatkov
8baa9ba1de
No parameter names in type of lambda expression and anonymous function
2016-10-11 23:38:54 +03:00
Pavel V. Talanov
14f3e4c758
Cls stubs and decompiled text: Do not render parameter names in decompiled text and do not load ParameterName annotation in stubs
...
Add tests for decompiled text and stubs
2016-10-11 23:38:53 +03:00
Valentin Kipyatkov
b2f215227d
Fixed completion to not render functional types with parameter names in lookup items
2016-10-11 23:38:52 +03:00
Valentin Kipyatkov
7f0063013c
Corrected test data
2016-10-11 23:38:52 +03:00
Valentin Kipyatkov
073845ebd4
Fixed test data
2016-10-11 23:38:52 +03:00
Valentin Kipyatkov
1f9e00b23f
Added tests that surprisingly passed
2016-10-11 23:38:51 +03:00
Valentin Kipyatkov
a62a37f6d8
Added tests for parameter names in function type from SAM-adapter + fixed KT-13861
...
#KT-13861 Fixed
2016-10-11 23:38:51 +03:00
Valentin Kipyatkov
59269ef1ae
ParameterName annotation on type argument used to hold parameter name
2016-10-11 23:38:51 +03:00
Valentin Kipyatkov
3bd39df587
No parameter names in types for error messages
2016-10-11 23:38:50 +03:00
Valentin Kipyatkov
6527ada775
Changes on code review
2016-10-11 23:38:50 +03:00
Valentin Kipyatkov
c0ea237ba4
Added test with type alias
2016-10-11 23:38:50 +03:00
Valentin Kipyatkov
6b94e5fd34
Use parameter names from function type for invoke() function
...
#KT-435 Fixed
#KT-9016 Fixed
2016-10-11 23:38:49 +03:00