Commit Graph

18934 Commits

Author SHA1 Message Date
Stanislav Erokhin 12f2c0861f Added DiagnosticFactoryToRendererMap.put(Renderers.MultiRenderer) 2014-11-17 17:45:05 +03:00
Stanislav Erokhin 65c9ea2465 Fix variance problems. 2014-11-17 17:45:05 +03:00
Stanislav Erokhin c10c1ad7f6 Fix wrong containingDeclaration for property type parameter. 2014-11-17 17:45:05 +03:00
Stanislav Erokhin b69ed539ea Fix descriptor renderer for LazyType 2014-11-17 17:45:04 +03:00
Stanislav Erokhin b7c473f59e Update lazy.log files 2014-11-17 17:45:01 +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
Stanislav Erokhin b7f7a3349d Rename ResolutionTaskHolder.java -> ResolutionTaskHolder.kt 2014-11-17 17:38:52 +03:00
Stanislav Erokhin f59d54e64f Convert ResolutionTaskHolder to kotlin 2014-11-17 17:38:51 +03:00
Nikolay Krasko b5fb27b485 LTDA: Register script files in packages slice 2014-11-17 16:15:26 +03:00
Nikolay Krasko 365319a8e6 LTDA: Make supertypes in lazy type parameters be recorded in order of declaration 2014-11-17 16:15:26 +03:00
Nikolay Krasko 261d4293ae LTDA: Don't read CONSTRUCTOR slice in backend
Usages from DECLARATIONS_TO_DESCRIPTORS are left
2014-11-17 16:15:25 +03:00
Nikolay Krasko 5657d30125 LTDA: Move prohibited 'class object' to the list with extra class objects descriptors in lazy resolve 2014-11-17 16:15:24 +03:00
Nikolay Krasko a2ddaeca77 LTDA: Make BuiltinsReferenceResolver compatible with Lazy TDA 2014-11-17 16:15:24 +03:00
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