Michael Bogdanov
af998101b3
Fix for KT-4206: NoSuchFieldError with class objects
...
#KT-4206 Fixed
2014-11-20 10:20:12 +03:00
Michael Bogdanov
7d1fd47569
Rewrite local var increment optimization
2014-11-20 10:20:12 +03:00
Michael Bogdanov
855bf772ca
Prefix inc refactoring
2014-11-20 10:20:12 +03:00
Michael Bogdanov
c7b1c0fe52
Store refactoring
...
#KT-1213 Fixed
2014-11-20 10:20:11 +03:00
Alexey Sedunov
a6479bfc90
Light Classes: Do not add "final" modifier to enum light classes
2014-11-18 13:24:56 +03:00
Stanislav Erokhin
caf44969a4
Add support for check diagnostic parameters in test.
2014-11-17 17:45:06 +03:00
Stanislav Erokhin
2033042d33
Make candidates lazy in ResolutionTask & ResolutionTaskHolder
2014-11-17 17:38:52 +03:00
Stanislav Erokhin
eb50e4adb3
Inject StorageManager to ResolutionTaskHolder
2014-11-17 17:38:52 +03:00
Alexander Udalov
93696ff9bd
Make Array.indices extension property, move to stdlib
...
This is not something that needs to be intrinsified. Note that compiler
optimizations are still possible and the fact whether 'indices' is a member or
an extension is irrelevant to the optimizer
2014-11-17 15:20:44 +03:00
Alexander Udalov
128c938965
Make Array.size() a function instead of a property
...
Also add a deprecated extension property to help migration. This is done to
unify getting size of arrays and collections
2014-11-17 15:02:38 +03:00
Pavel V. Talanov
40addaed13
Fix wrong deserialization order
...
For case when property and function have the same name or
extension and non-extension member have the same name
2014-11-14 17:09:14 +03:00
Pavel V. Talanov
8016766b23
Extension/non-Extension members are deserialized in correct order
2014-11-14 16:18:33 +03:00
Pavel V. Talanov
028e9105af
Add test for enum class with inner classes
2014-11-14 16:18:32 +03:00
Pavel V. Talanov
77dd027d69
Use MemberComparator in DescriptorSerializer
2014-11-14 16:18:29 +03:00
Pavel V. Talanov
dc134b3394
MemberComparator: enum entries have top priority and are never reordered
...
Fix rendering accordingly
2014-11-14 16:18:29 +03:00
Pavel V. Talanov
eba5843468
Test order of enum entries in deserialized classes
2014-11-14 16:18:28 +03:00
Pavel V. Talanov
01cf60b834
Separate tests for ordering of deserialized members
2014-11-14 16:18:27 +03:00
Pavel V. Talanov
9a04ff0b9e
Test order of nested/inner classes for deserialized classes
2014-11-14 16:18:26 +03:00
Pavel V. Talanov
5be30ab81d
Add validation that deserialized members are sorted accordingly
2014-11-14 16:18:25 +03:00
Pavel V. Talanov
2533887253
Refactor: Make ValidationVisitor stateful so it's possible to inherit from it
2014-11-14 16:18:24 +03:00
Denis Zharkov
8d47bdfebb
Made <T> in arrayOfNulls() reified #KT-5651 Fixed
2014-11-13 20:56:10 +03:00
Denis Zharkov
eec4b7094c
Added diagnostic test for Array<T> instances usage
...
when T is not reified
2014-11-13 20:56:10 +03:00
Denis Zharkov
73ca75cc0b
Fixed wrong constructor arguments order
2014-11-13 20:56:10 +03:00
Denis Zharkov
a8ca39754c
Supported creating varargs of reified type parameter
2014-11-13 20:56:10 +03:00
Denis Zharkov
28dc84344c
Prohibit ''Nothing'' substitution of reified TP
2014-11-13 20:56:09 +03:00
Denis Zharkov
b3691b7358
Frontend changes for reified type parameters
...
Allowing reified only for inline functions and Intrinsics
2014-11-13 20:56:09 +03:00
Denis Zharkov
21699e1753
Supported reification for anonymous objects and lambdas
2014-11-13 20:56:08 +03:00
Denis Zharkov
fc1d8dd9ce
javaClass<T> is supported for reified T
2014-11-13 20:56:06 +03:00
Denis Zharkov
f3c49c605f
Typecheck instructions are supported for reified T
2014-11-13 20:56:06 +03:00
Denis Zharkov
4a66ab3627
Support generic array creation for reified inlined
2014-11-13 20:56:06 +03:00
Valentin Kipyatkov
ff4d91d47b
Replaced usages of getAllDescriptors() from Kotlin code with getDescriptors()
2014-11-12 21:25:01 +03:00
Valentin Kipyatkov
8d02c58e0a
Added name filter to PackageFragmentProvider.getSubPackagesOf but do not know how to use it actually
2014-11-12 21:24:59 +03:00
Nikolay Krasko
ccb6aec5ee
Fix changing files after running Generated Test configuration
2014-11-12 20:35:01 +03:00
Alexander Udalov
57d37a3860
Extract reflection implementation to module runtime.jvm
2014-11-11 18:35:40 +03:00
Alexander Udalov
ae3c17d399
Minor, get rid of SAMs in some loadJava tests
2014-11-11 18:10:43 +03:00
Andrey Breslav
74ec7728c8
Actually create .kt files in the file system for Kotlin multifile tests
2014-11-10 18:38:48 +02:00
Andrey Breslav
8dcd81e0b3
KT-6178 False "Overriden methods are not annotated" when using delegation
...
#KT-6178 Fixed
2014-11-10 17:24:07 +02:00
Andrey Breslav
586b7e3dee
Base class for multi-file tests extracted
2014-11-10 17:24:06 +02:00
Andrey Breslav
f16dcdd8a9
Do not annotate Kotlin members returning platform types as @Nullable
...
This leads to pointless warning in Java code
2014-11-10 17:24:06 +02:00
Andrey Breslav
4892369cf4
Diagnostic tests are logging their lazy activity
2014-11-10 17:24:04 +02:00
Andrey Breslav
8436147cec
KT-1056 Don't allow passing type arguments to T
...
#KT-1056 Fixed
2014-11-10 17:23:58 +02:00
Andrey Breslav
7d9be42969
LazinessTokens introduced to enable/disable building lazy types
2014-11-08 15:51:41 +02:00
Andrey Breslav
2334bf4c70
Resolution of type constructors in TypeResolver is now lazy (for types in declarations)
2014-11-08 15:51:41 +02:00
Andrey Breslav
266262df68
TypeResolver converted to Kotlin
2014-11-08 15:51:40 +02:00
Zalim Bashorov
3e7b0be68d
K2JS: test that UNUSED_PARAM warnings inside native declarations and all warnings from stdlib was suppressed.
2014-11-07 16:30:52 +03:00
Alexander Udalov
70d0c2ff92
Generate generic signature to collection method stubs
...
#KT-6213 Fixed
2014-11-07 16:10:12 +03:00
Valentin Kipyatkov
c2a3fde969
Converted JetScope to Kotlin
2014-11-05 21:42:12 +03:00
Michael Bogdanov
8a9977de72
Fix for KT-6202: Redundant and wrong linenumber after if/else condition
...
#KT-6202 Fixed
2014-11-05 18:25:36 +03:00
Michael Bogdanov
ad6afee53f
Fix for KT-6196: ClassCastException on unit property initializer
...
#KT-6196 Fixed
2014-11-05 18:25:36 +03:00
Valentin Kipyatkov
2200908367
Doc comments for parameters and property accessors
2014-10-31 21:07:52 +03:00