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
Alexander Udalov
fdc631d595
Increase ABI version after changes to package fragment names
2013-10-02 17:05:47 +04:00
Alexander Udalov
a97bb80216
Serialize FQ names of Kotlin classes
...
This helps to avoid a nasty hack with loading inner Kotlin classes in JDR,
which makes it a bit easier to 'lazify' JDR, since now the container of a
Kotlin class is no longer required to be resolved eagerly before resolution of
the class itself
2013-09-30 22:43:18 +04:00
Alexander Udalov
a814f6a897
Advertise CompileBinaryTestData.kt in tests with binaries
2013-09-25 16:04:17 +04:00
Alexander Udalov
da1325f5cc
Add a script to regenerate binary test data (jars)
2013-09-24 20:33:00 +04:00
Alexander Udalov
1de637c143
Regenerate compiled testData
...
Add sources and instructions to tests which had compiled jars in the testData.
PLEASE ALWAYS ADD SOURCES for tests with jars.
Delete runtime, stdlib and their sources from these jars -- PLEASE DO NOT PUT
kotlin-runtime.jar INTO TEST DATA JARS: every such jar is around 1Mb, it spoils
the repository
2013-09-24 20:32:07 +04:00
Pavel V. Talanov
a1b397ee2d
Test for invoking "Override methods" for fake override from library
2013-09-10 13:19:07 +04:00
Andrey Breslav
fa2ea75c09
Do not add explicit visibility modifiers in Override/Implement
2013-09-05 21:59:41 +04:00
Evgeny Gerashchenko
1f2676becd
Ignoring SAM adapters when checking for unimplemented methods or methods to override.
2013-06-25 20:17:45 +04:00
Zalim Bashorov
1e0f926d39
Fixed the expected test result for OverrideImplementTest#testFunctionWithTypeParameters.
2013-06-11 15:50:16 +04:00
Michał Sapalski
7deec28b9c
Adjusted tests to the new DescriptorRenderer behaviour
2013-04-29 15:44:07 +04:00
Andrey Breslav
c422e4194d
Reverting pull request 240
2013-04-12 15:25:52 +04:00
Michał Sapalski
d875bf80cb
Fixed regression in rendering generic types upper bounds.
2013-04-12 12:49:00 +04:00
Michał Sapalski
97796f9b0f
Refactoring: use DescriptionRenderer to generate overriding functions / properties.
2013-04-12 12:49:00 +04:00
Evgeny Gerashchenko
53f775e98d
Test for KT-488 Implement members breaks in generic classes
...
#KT-488 obsolete
2013-03-14 20:49:42 +04:00
Natalia.Ukhorskaya
b55b3f95f4
Fix tests: wrong test data (internal visibility shouldn't be displayed after overriding a function)
2013-02-07 13:33:06 +04:00
Natalia.Ukhorskaya
74f05bf659
Write protected keyword overriding java package protected function
2013-02-06 21:54:20 +04:00
Natalia.Ukhorskaya
7f28540e62
Add internal keyword overriding package(java) visibility
2013-02-06 21:54:16 +04:00
Andrey Breslav
947ab99f53
Tests fixed after default nullability for type arguments changed to NotNull
2012-12-14 15:28:22 +04:00
Evgeny Gerashchenko
a773b8426e
Removed copyrights from Java test data.
2012-11-28 15:23:55 +04:00
Vladimir Rudev
2dd47d6339
KT-1985 Add test case and fix minor bug
...
Reference compacting must be done before adding body to class.
2012-11-08 23:23:49 +04:00
Evgeny Gerashchenko
08fc54d969
Fixed test data after IDEA update.
2012-09-13 19:07:58 +04:00
Svetlana Isakova
ed68ac2244
test fix
2012-09-05 18:55:18 +04:00