Commit Graph

98 Commits

Author SHA1 Message Date
Ilya Gorbunov 4dde59368c Fix tests not to duplicate array constructor definitions as they are available now in builtins. 2015-12-14 04:29:18 +03:00
Alexander Udalov a950f36fd7 Minor, fix test data 2015-10-31 13:52:04 +03:00
Nikolay Krasko 8bef335b71 Don't propose to generate Any methods in interface to avoid METHOD_OF_ANY_IMPLEMENTED_IN_INTERFACE error (KT-9796)
#KT-9796 Fixed
2015-10-29 14:37:14 +03:00
Mikhail Glukhikh cba6870f52 protected & internal are now forbidden in interfaces 2015-10-07 11:57:14 +03:00
Mikhail Glukhikh 4e91f2ffb7 'open' + 'private' and 'abstract' + 'private' are now incompatible for functions and properties #KT-9324 Fixed 2015-09-29 13:05:11 +03:00
Stanislav Erokhin 5fb6a15c81 Minor. fix testdata 2015-09-08 20:51:32 +03:00
Michael Nedzelsky 68c6c7790a fix tests in org.jetbrains.kotlin.idea.codeInsight 2015-09-08 02:05:15 +03:00
Valentin Kipyatkov ab783e052f No override for private to this 2015-08-27 23:21:22 +03:00
Valentin Kipyatkov d62eeb1c25 Better test 2015-08-27 23:21:22 +03:00
Valentin Kipyatkov dcfe9b98d7 Fixed bug with duplicated members in Override Members dialog 2015-08-27 23:21:21 +03:00
Valentin Kipyatkov 40638de67c Override members does not generate qualified super when not needed 2015-08-27 23:21:21 +03:00
Valentin Kipyatkov 9497856d8e KT-8868 "Implement members" generates unqualified reference for member class/interface
#KT-8868 Fixed
2015-08-27 23:21:21 +03:00
Valentin Kipyatkov 9b4e3b15c4 KT-8822 Override Members: do not show private members from java classes
#KT-8822 Fixed
2015-08-19 17:26:44 +03:00
Michael Nedzelsky c74577951e minor fix in idea/testData: ImplementFunctionType.kt -> implementFunctionType.kt 2015-08-11 04:23:18 +03:00
Valentin Kipyatkov 377201bbcd KT-8716 Exception on attempt to implement function
#KT-8716 Fixed
2015-08-10 20:29:51 +03:00
Denis Zharkov 41d4af2cb9 Implement rendering of raw types
Also add some clarification in spec
2015-08-06 08:18:18 +03:00
Valentin Kipyatkov 63dc843c71 KT-8542 Override dialog: only one class from hierarchy is shown
#KT-8542 Fixed
2015-07-28 22:39:31 +03:00
Valentin Kipyatkov edcb330281 Corrected/removed tests related to on-the-fly import optimization 2015-07-22 21:16:13 +03:00
Denis Zharkov f0833d626a Fix intentions tests after types enhancement
Types became more accurate
2015-07-09 16:36:44 +03:00
Dmitry Jemerov 625096466e IDE testdata: s/trait/interface 2015-05-13 16:13:13 +02:00
Dmitry Jemerov 0cf77dfb10 override/implement: correctly generate call to super method with vararg arguments
#KT-7580 FIxed
2015-04-24 14:59:46 +02:00
Dmitry Jemerov d32ff50579 escape identifiers in generated super method call in Override/Implement
#KT-6669 Fixed
2015-04-15 15:44:11 +02:00
Valentin Kipyatkov 0a363fc371 Import is placed in some specific order on adding 2015-02-19 11:07:02 +03:00
Valentin Kipyatkov 033b626a08 Fixed test data 2015-02-09 13:02:04 +03:00
Andrey Breslav fecf6f9fdf Star projection information preserved in substitutions
#KT-6700 Fixed
2015-02-02 19:52:01 +03:00
Valentin Kipyatkov c915eb4eac KT-6566 Generate Override/Implement method does not work for locally declared classes
#KT-6566 Fixed
2015-01-14 20:59:23 +03:00
Valentin Kipyatkov c882e902c3 Override property calls super when its not abstract 2014-12-23 21:38:49 +03:00
Valentin Kipyatkov 5f2446d889 Implement property uses throw UnsupportedOperationException() instead of default value or ? 2014-12-23 21:38:49 +03:00
Valentin Kipyatkov 9f845f0de4 Fixed KT-4892 Override method generates redundant type arguments in call to super
#KT-4892 Fixed
2014-12-18 15:41:34 +03:00
Valentin Kipyatkov 4b9bcce07a Fixed KT-4431 Override/implement val: generate getter instead of initializer
#KT-4431 Fixed
2014-12-18 15:41:33 +03:00
Valentin Kipyatkov d394625771 Fixed override/implement 2014-10-31 21:07:51 +03:00
Nikolay Krasko b06b3ab4c4 Insert empty lines after functions and properties (KT-4002)
#KT-4002 Fixed
2014-10-14 00:39:23 +04:00
Andrey Breslav f202a5c31d KT-4524 Generate implementations fails on functions with default values
#KT-4524 Fixed
2014-10-13 15:43:03 +04:00
Andrey Breslav fe2fb60daf Approximating flexible types in descriptor renderer 2014-10-13 15:38:07 +04:00
Nikolay Krasko dc97cdb51c Fix test 2014-10-07 13:34:55 +04:00
Nikolay Krasko 44b8e22bef More tests for generating methods from different caret positions 2014-10-06 17:53:10 +04:00
Nikolay Krasko 774af134fa Move caret to generated element and add selection 2014-10-06 17:53:02 +04:00
Nikolay Krasko a50720d74d Remove rest of whitespace on override or implement to insert generated at caret offset 2014-10-06 17:53:00 +04:00
Nikolay Krasko 03d1c64d27 KT-5103 No delegated members in Override/Implement
#KT-5103 Fixed
2014-10-06 17:52:41 +04:00
Pavel V. Talanov af963ea244 Fix being unable to find declaration for substituted callable from library
#KT-5900 Fixed
#KT-5901 Fixed
2014-10-03 21:33:18 +04:00
Andrey Breslav 38d4ca5469 Do not generate @NotNull annotations on void- or primitive-returning methods
#KT-4834 Fixed
  #KT-5255 Fixed
2014-06-24 15:54:11 +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
Alexander Udalov a78b7fb31f Don't add initializer to extension property on override/implement 2014-05-29 21:24:06 +04:00
Alexander Udalov 3dcd85bdb4 Add toString() to Any, fix all tests
#KT-4517 Fixed
2014-03-02 19:54:49 +04:00
Alexander Udalov b8ec50f38c Handle fake overrides of members of Any in BuiltInsReferenceResolver 2014-03-02 19:54:48 +04:00
Nikolay Krasko 7e4bb1d467 Test that lazy resolve is able to do propagation in Kotlin-Java-Kotlin hierarchy
Patch by Evgeny Gerashchenko
2014-02-20 16:31:25 +04:00
Nikolay Krasko 9a8a8364dd KT-4344 "Overridden method parameters are not annotated" warnings from Java
#KT-4344 Fixed
2014-02-18 14:49:34 +04:00
Natalia Ukhorskaya a71e062504 Insert proper default value when overriding property of type float, double, char 2014-01-28 18:21:37 +04:00
Nikolay Krasko 372106b914 KT-1043 'Implement Methods' throws a ClassCastException
#KT-1043 Obsolete
2013-12-16 19:39:42 +04:00
Alexander Udalov a2c74d4324 Refactor OverrideImplementWithLibTest
Use JdkAndMockLibraryProjectDescriptor instead of a jar file, which needs to be
regenerated every time binary format changes
2013-10-10 20:28:21 +04:00