Commit Graph

3280 Commits

Author SHA1 Message Date
Valentin Kipyatkov 9ad04a1a26 Merge branch 'master' into ElliotM-for-loop-indices 2015-07-21 11:25:49 +03:00
Valentin Kipyatkov e0e7044032 Synthetic properties: fixed completion and inspection for generic class
+ fixed KT-8539 No completion of generic extension function for <*> type arguments

 #KT-8539 Fixed
2015-07-21 08:32:50 +03:00
Valentin Kipyatkov 0ac990e1a0 More tests for smart casts 2015-07-21 08:32:50 +03:00
Valentin Kipyatkov b6027a0efe Changed synthetic properties naming for getters starting with "is" 2015-07-21 08:32:49 +03:00
Valentin Kipyatkov cf2aa73ee6 Fixed wrong test data 2015-07-21 08:32:49 +03:00
Nikolay Krasko 87e94aa20b Minor test data update after moving to new idea 2015-07-17 20:59:08 +03:00
Nikolay Krasko cac62fe4c8 Test fix after idea update 2015-07-17 20:59:07 +03:00
Valentin Kipyatkov 745bed74b2 Minor fix in partial body resolve 2015-07-16 13:49:20 +03:00
Valentin Kipyatkov 63614c5892 Initial implementation of renaming extension property usages on getter or setter rename 2015-07-16 13:49:16 +03:00
Valentin Kipyatkov 13f0d3ca23 Initial implementation of usage search for get/set methods in form of synthetic extension 2015-07-16 13:49:16 +03:00
Valentin Kipyatkov 73dd4a214e Reference resolve from synthetic extension usages to get/set-methods 2015-07-16 13:49:15 +03:00
Valentin Kipyatkov bfdc74ce74 Intention&inspection to use synthetic property instead of get/set method call 2015-07-16 13:49:15 +03:00
Natalia Ukhorskaya 75edfa6527 Debugger: do not resolve symbols on breakpoint line in Evaluate Expression 2015-07-16 13:08:31 +03:00
Natalia Ukhorskaya fdfabebcce Fix debugger test on Java7 2015-07-16 10:24:33 +03:00
Mikhail Glukhikh c19785252c Sealed classes now are decompiled correctly + test #EA-70762 Fixed 2015-07-15 17:55:16 +03:00
Ilya Gorbunov 4de5dd9aeb Drop deprecated FunctionalList, FunctionalQueue.
Remove dependency on FunctionalList from tests.
2015-07-15 17:45:56 +03:00
Valentin Kipyatkov 5f8a652a38 KT-4592 Parameter info shows signatures of inaccessible methods
#KT-4592 Fixed
2015-07-15 16:32:20 +03:00
Denis Zharkov d19cb747be Emit not-null assertions for enhanced types 2015-07-15 10:01:14 +03:00
Mikhail Glukhikh 37b2e97e56 Rendering changed: "annotation class" is now just "class" (with kotlin.annotation.annotation if it's kotlin annotation).
A swarm of tests fixed accordingly.
2015-07-14 16:25:08 +03:00
Mikhail Glukhikh 0d2a81f098 Annotation target checking in front-end, a set of tests for different annotation targets, existing test fixes
No checks for erroneous annotations. Additional checks for identifiers.
2015-07-14 16:25:04 +03:00
Mikhail Glukhikh 1eac4d67de "annotation" is now parsed as an identifier. It is no longer a soft keyword.
Sometimes it's allowed to parse "annotation" unescaped even if other annotations must be escaped.
A set of annotations and their options tests.
A swarm of existing tests fixed (mostly kotlin.annotation.annotation() added to txt-files).
STUB_VERSION increased. Some quick fixes slightly changed.
2015-07-14 16:24:55 +03:00
Valentin Kipyatkov d32ba08cb7 KT-8394 ReplaceWith for Delegates.lazy fails outside of stdlib
#KT-8394 Fixed
2015-07-13 19:41:42 +03:00
Alexander Udalov 636b63a8c5 Make "reflection not found" a warning, provide a quick fix
Reporting the warning on each "::", as ReflectionNotFoundInspection did, is not
correct anymore, because for example name/get/set on properties works perfectly
without kotlin-reflect.jar in the classpath. So instead we report the warning
on calls to functions from reflection interfaces. This is not perfect either
because it's wrong in projects with custom implementations of reflection
interfaces, but this case is so rare that the users can suppress the warning
there anyway

 #KT-7176 Fixed
2015-07-10 20:10:11 +03:00
Svetlana Isakova 722a49767a Rename: TypeConstructorMismatch -> ParameterConstraintError 2015-07-10 15:05:12 +03:00
Alexey Sedunov a96bd546a1 Change Signature: Avoid explicit Unit return type 2015-07-09 20:47:51 +03:00
Alexey Sedunov eb7463ed81 Change Signature: Propagate parameters to chosen callers
#KT-7902 Fixed
2015-07-09 20:47:48 +03:00
Alexey Sedunov 46dcfb508e Call Hierarchy: Find implicit constructor calls in Java code 2015-07-09 20:35:06 +03:00
Alexey Sedunov 0169963a27 Change Signature: Process internal usages of function parameters when
performing Java refactoring
2015-07-09 17:56:44 +03:00
Denis Zharkov a218c1359f Adjust testData: JDK collections behave like non-platform in backend
Some of that changes looks like regression and should be fixed soon
2015-07-09 16:36:48 +03:00
Denis Zharkov 00e41fc238 Fix testData after types enhancement 2015-07-09 16:36:45 +03:00
Denis Zharkov befe025d21 Fix intentions testData: types rendering changed
Some more FQ names appeared.
The reason is that earlier such types were Lazy and their `toString` method return short version.
But after type enhancement they are represented with JetTypeImpl
2015-07-09 16:36:45 +03:00
Denis Zharkov f0833d626a Fix intentions tests after types enhancement
Types became more accurate
2015-07-09 16:36:44 +03:00
Evgeny Gerashchenko 5c56bc455e Supported excluded packages/classes in auto-import quick fix.
#KT-2413 in progress
2015-07-08 14:28:37 +03:00
Dmitry Jemerov 79602163a3 update run configuration on package rename 2015-07-07 18:02:48 +03:00
Dmitry Jemerov 247ffdccbe updating run configuration on class rename (KT-6731) 2015-07-07 18:02:45 +03:00
Nikolay Krasko 2cde746047 Usage highlighting test 2015-07-06 21:06:12 +03:00
Valentin Kipyatkov e9b4045eac Fixed test data 2015-07-06 16:48:50 +03:00
Alexander Udalov feb4dd7b8f Drop 'OBJECT$' field deprecated in M11 2015-07-06 16:19:54 +03:00
Evgeny Gerashchenko 01b83b3e3e Minor. Fixed test data. 2015-07-03 19:48:01 +04:00
Alexey Sedunov 5319e9e761 Change Signature: Support configurable Change Signature for Java code
#KT-5923 Fixed
2015-07-03 18:38:06 +03:00
Alexey Sedunov 9e82411e78 Change Signature: Do not process calls with unmatched arguments/parameters 2015-07-03 18:38:05 +03:00
Alexey Sedunov 161539f3da Change Signature: val/var parameter support 2015-07-03 18:38:02 +03:00
Alexey Sedunov 2ff63d37c2 Change Signature: Property support
#KT-6599 Fixed
2015-07-03 18:38:01 +03:00
Evgeny Gerashchenko aa65eb1055 More proper fix for KT-8137/EA-69470: avoiding failed assertion when searching usages of parameter of local class constructor
KT-8137 AE at JetSourceNavigationHelper.convertNamedClassOrObject() on function local class with several constructor parameters

 #KT-8137 fixed
 #EA-69470 fixed
2015-07-03 16:00:06 +03:00
Dmitry Jemerov 21e25e8509 KT-4820: Intention to introduce/remove indices from a for-loop (update to modern Kotlin) 2015-07-02 13:16:34 +02:00
Dmitry Jemerov 7f3f834011 Merge branch 'for-loop-indices' of https://github.com/ElliotM/kotlin into ElliotM-for-loop-indices 2015-07-02 13:14:19 +02:00
Pavel V. Talanov 9a9d70fd98 Decompiler: do not try to render function types with star projections prettily 2015-07-01 20:45:32 +03:00
Evgeny Gerashchenko 8fcbd44ad4 KT-8137 AE at JetSourceNavigationHelper.convertNamedClassOrObject() on function local class with several constructor parameters
#KT-8137
 #EA-69470 fixed
2015-07-01 19:43:54 +03:00
Valentin Kipyatkov eadeb6e63f DirectiveBasedActionUtils: don't allow to specify ACTION directives that won't be checked anyway 2015-06-30 13:41:41 +03:00
Valentin Kipyatkov db144a6121 Suggestions from expression itself to have higher priority + fixed incorect upper case naming 2015-06-29 19:36:49 +03:00