Commit Graph

3945 Commits

Author SHA1 Message Date
Ilya Gorbunov f8fe3e6c1d Restore dropped hidden declarations for binary compatibility until RC. 2015-11-29 04:37:35 +03:00
Alexander Udalov 7b3b157707 Remove PropertyMetadata from project and bytecode, migrate code to KProperty 2015-11-27 23:34:34 +03:00
Yan Zhulanow 1643441fdb Minor: fix quickfix tests (get/set functions are now created correctly, merge issue) 2015-11-27 20:30:19 +03:00
Yan Zhulanow 9d1af5a17e Fix tests: "infix modifier required" and "operator modifier required" errors 2015-11-27 15:51:11 +03:00
Yan Zhulanow a3ff3ffc45 Fix tests: "Placing function type parameters after the function name" error 2015-11-27 15:51:11 +03:00
Alexey Sedunov e37eea2b2d Create from Usage: Add infix modifier to functions generated from binary expressions
#KT-10184 Fixed
2015-11-26 21:22:20 +03:00
Alexey Sedunov 5b90c09ab1 Create from Usage: Add operator modifier to indexing get/set functions
#KT-10185 Fixed
2015-11-26 21:22:18 +03:00
Alexey Sedunov 7a40239e64 Introduce Variable: Support destructuring declarations
#KT-6262
2015-11-26 21:22:16 +03:00
Natalia Ukhorskaya 67dd97b918 Mark bridge methods in lambdas classes as synthetic
#KT-10101 Fixed
2015-11-26 11:39:19 +03:00
Natalia Ukhorskaya cb80a3e83a Write lineNumber for function literal with void return value
#KT-9865 Fixed
2015-11-26 11:39:18 +03:00
Natalia Ukhorskaya 4a2e4312ea Write lineNumber when inline function result is written to property 2015-11-26 11:39:17 +03:00
Ilya Gorbunov 1be4f795ed Fix testData after deprecated toLinkedList and joinToString were dropped. 2015-11-25 18:35:04 +03:00
Mikhail Glukhikh 89e56093a2 Limit "always null" scope: only for !!, is and dot; senseless comparison rolled back; "smart constant" information for nulls #KT-10029 Fixed 2015-11-25 18:26:08 +03:00
Mikhail Glukhikh 46f4191185 Unnecessary safe call is now reported in CallExpressionResolver, removed code duplication for safe call receivers
See also KT-10175
2015-11-25 16:19:48 +03:00
Dmitry Petrov da90c21284 Warn about comma-separated conditions in when without argument.
See KT-5143.
2015-11-25 15:39:23 +03:00
Alexey Sedunov 736813c76a Introduce Lambda Parameter: Support extraction of string template fragments 2015-11-24 20:40:26 +03:00
Alexey Sedunov 1b162e0294 Introduce Parameter: Support extraction of string template fragments 2015-11-24 20:40:21 +03:00
Alexey Sedunov 6e8acc6453 Psi Unifier: Do not unify parameters with block expressions 2015-11-24 20:40:20 +03:00
Alexey Sedunov 741489f4a5 Extract Function/Introduce Property: Support extraction of string template fragments 2015-11-24 20:40:18 +03:00
Alexey Sedunov f4b4b023a3 Introduce Variable: Support extraction of string template fragments
#KT-2089 Fixed
2015-11-24 20:40:15 +03:00
Alexey Sedunov 5889971d62 Introduce Variable: Allow choosing extraction scope for expressions in the lambda body
#KT-7720 Fixed
2015-11-24 20:40:07 +03:00
Dmitry Jemerov 70049171cd use Kotlin call hierarchy provider only for Kotlin elements, to ensure that it does not interfere with standard Java features of IntelliJ IDEA 2015-11-24 16:53:42 +01:00
Alexey Sedunov b6a5d30469 Inspections: Forbid equals/hashCode inspection on object with explicit supertypes
#KT-9778 Fixed
2015-11-24 14:03:48 +03:00
Valentin Kipyatkov f44bbfe4cd Moved test data to idea-live-templates too 2015-11-23 20:31:33 +03:00
Valentin Kipyatkov c6df1b6dce KT-9747 Live template macro "kotlinSuggestVariableName()" is wrong
#KT-9747 Fixed
2015-11-23 20:31:33 +03:00
Valentin Kipyatkov 0e740dc0a6 IterableVariableMacro to honor smart casts 2015-11-23 20:31:32 +03:00
Mikhail Glukhikh dc60c62781 Enum.values is now deprecated but Enum.values() is no more deprecated 2015-11-23 17:29:36 +03:00
Mikhail Glukhikh 1c609663a4 Private setters are now deprecated for open properties 2015-11-23 17:29:23 +03:00
Ilya Gorbunov f2ce849f18 Fix parameter names in testData 2015-11-21 07:09:03 +03:00
Ilya Gorbunov 5b02a59cb7 Fix JvmStatic applicability diagnostics test after COMPANION_OBJECT became distinct KotlinTarget 2015-11-21 00:43:35 +03:00
Dmitry Jemerov f20f15ec46 resolve KDoc references to members of companion object 2015-11-20 18:22:08 +01:00
Dmitry Jemerov bfca85db52 don't highlight multi-resolved references in KDoc as unresolved
#KT-9413 Fixed
2015-11-20 18:22:07 +01:00
Dmitry Jemerov 742830f815 resolve KDoc references in static scope of classes as well
#KT-9946 Fixed
2015-11-20 18:22:06 +01:00
Dmitry Jemerov a80930bf15 code cleanup can replace infix calls to library functions with ordinary calls
#KT-9976 Fixed
2015-11-20 18:22:05 +01:00
Valentin Kipyatkov fdc7c75f5b Fixed "Import member" intention shown in the wrong place 2015-11-20 16:06:34 +03:00
Valentin Kipyatkov bf99f91d83 Fixed EA-75877 2015-11-20 16:06:34 +03:00
Dmitry Jemerov 30084dff9d ensure that the short name of the Kotlin unused import inspection does not clash with Java (KT-10046) 2015-11-20 13:54:40 +01:00
Mikhail Glukhikh cd1b58f2eb Final in interfaces: deprecation ---> error + relevant test fixes 2015-11-20 15:43:19 +03:00
Valentin Kipyatkov 603bcaa039 KT-10006 Parameter Info does not work for smart cast receiver
#KT-10006 Fixed
2015-11-20 15:36:31 +03:00
Mikhail Glukhikh 4e44466cf9 Exposed visibility deprecation warnings made errors + relevant test fixes 2015-11-20 15:21:01 +03:00
Pavel V. Talanov dbd49c37c1 Psi: Introduce KtScriptInitializer, a separate entity for script initializers which are quite a bit different from class initializers 2015-11-19 22:57:07 +03:00
Pavel V. Talanov aebcebe8ca Add simple checker tests for scripts 2015-11-19 22:56:55 +03:00
Natalia Ukhorskaya 35ccfef040 Add test for navigation from stacktrace at inline function with object 2015-11-19 12:07:03 +03:00
Natalia Ukhorskaya 6867165aba Fix navigation from stack trace to inline function calls in inner classes 2015-11-19 12:07:02 +03:00
Natalia Ukhorskaya 3498038db1 Support navigation to library inline functions from stack trace 2015-11-19 12:07:01 +03:00
Natalia Ukhorskaya 214ae54c69 Rewrite old exception filter test with library sources 2015-11-19 12:07:00 +03:00
Natalia Ukhorskaya 6c0a68cf66 Rewrite some old exception filter tests 2015-11-19 12:06:59 +03:00
Natalia Ukhorskaya 9f0b52f030 Navigate to inline function from stackTrace
#KT-8066 Fixed
2015-11-19 12:06:58 +03:00
Dmitry Petrov 7b432c878a Diagnostics improvements for corner cases
(class/package qualifier in non-qualifier position).
2015-11-18 16:27:21 +03:00
Dmitry Petrov 9856af48ca Drop createQualifier: testData update 2015-11-18 14:35:53 +03:00