Commit Graph

18620 Commits

Author SHA1 Message Date
Nikolay Krasko cb2a9168a7 Dropped redundant interface 2014-11-17 16:15:23 +03:00
Nikolay Krasko e1d51e9879 Minor: code enhancements 2014-11-17 16:15:22 +03:00
Nikolay Krasko 27e9f9c926 Don't duplicate overloaded functions in getting all descriptors 2014-11-17 16:15:22 +03:00
Nikolay Krasko 38256d3240 toString() for filter 2014-11-17 16:15:21 +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 36a9a99b4f Minor, fix formatting in Arrays.kt in stdlib 2014-11-17 15:02:39 +03:00
Alexander Udalov 74d00979d4 Use newly built compiler for kotlin2js instead of bootstrap
Otherwise it's impossible to make any change in built-ins: the bootstrap
compiler is not able to compile the new stdlib because stdlib is designed to
compile against the built-ins of the same version, but bootstrap compiler is
only aware of old built-ins which it has in its classpath
2014-11-17 15:02:38 +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
Alexander Udalov bc238d5f4c Regenerate tests 2014-11-17 14:08:45 +03:00
Natalia Ukhorskaya 7f56c815fb Debugger: add module info to key for type mapper in JetPositionManager 2014-11-17 11:45:10 +03:00
Evgeny Gerashchenko 321e758451 Merge pull request #528 from develar/patch-1
plugin description must be wrapped into CDATA if html used
2014-11-14 20:05:27 +04:00
Vladimir Krivosheev 074ac2a2e2 plugin description must be wrapped into CDATA if html used 2014-11-14 15:52:21 +01: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 e8aee5cddf Sorting descriptors in DecompiledTextFactory is redundant 2014-11-14 17:09:10 +03:00
Pavel V. Talanov d2cfcfa659 Fix test data after changes to renderer and descriptors 2014-11-14 17:09:05 +03:00
Pavel V. Talanov 32c66f9232 Regenerate OperationsMapGenerated 2014-11-14 16:18:34 +03:00
Pavel V. Talanov c9bdba8e20 Minor: comment 2014-11-14 16:18:34 +03:00
Pavel V. Talanov 2d4d1caf17 Improve filtering descriptors in DeserializedMemberScope 2014-11-14 16:18:33 +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 8e1111d690 Deserialized scope descriptor order synced with serialization order
That introduces implicit dependency of deserialization on MemberComparator
2014-11-14 16:18:32 +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 847ccde099 Refactor DeserializedClassDescriptor: separate nested classes and enum entries logic 2014-11-14 16:18:31 +03:00
Pavel V. Talanov 9ddde7ca38 Do not put enum entry names into unordered set in deserialized classes 2014-11-14 16:18:30 +03:00
Pavel V. Talanov 5b009e216f Minor: comment 2014-11-14 16:18:30 +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 b7ca11cee1 Implement EnumEntrySyntheticClassDescriptor#toString() 2014-11-14 16:18:27 +03:00
Pavel V. Talanov 01cf60b834 Separate tests for ordering of deserialized members 2014-11-14 16:18:27 +03:00
Pavel V. Talanov 5ffa66ffc3 Do not put nested class names in unordered set for deserialized classes 2014-11-14 16:18:26 +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 52f7999bee Stable order of member descriptors in DeserializedMemberScope 2014-11-14 16:18:25 +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 e8b384eb63 Extract IntersectionScope in TypeUtils 2014-11-14 16:18:24 +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
Pavel V. Talanov 5f47a5aa49 Move MemberComparator to 'descriptors' module 2014-11-14 16:18:23 +03:00
Valentin Kipyatkov a15edf716a Fixed KT-6235 Get rid of `` for identifier "type" in converter
#KT-6235 Fixed
2014-11-14 15:25:53 +03:00
valentin 51a5125987 No need to insert imports of Kotlin standard classes if java.util.* is imported 2014-11-14 15:25:53 +03:00
Zalim Bashorov ccdcbf702a Update to IDEA 139.225.3 2014-11-13 21:52:39 +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 e768b4e285 stdlib: Introduced filterIsInstance version
without class-literal as a parameter
2014-11-13 20:56:10 +03:00
Denis Zharkov da5164acd8 stdlib: Introduced Array<T>?.orEmpty() in JVM-stdlib 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 29b4ba9b3d Explicitly specified type of array 2014-11-13 20:56:09 +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 79c6f2b91b Introduced parametrised markers' set 2014-11-13 20:56:09 +03:00
Denis Zharkov 46f22b5422 Test fixed 2014-11-13 20:56:08 +03:00