Commit Graph

9511 Commits

Author SHA1 Message Date
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
Michael Nedzelsky 505775218a JS backend: fix KT-6277 kotlinc-js: IllegalArgumentException when -output is a file name without directory prefix
#KT-6277 Fixed
2014-11-19 23:38:15 +03:00
Michael Nedzelsky de2acc31ee JS backend: test for KT-6277 2014-11-19 23:38:12 +03:00
Valentin Kipyatkov 153b53baa8 Moved method checkIsExtensionCallable from ExpressionTypingUtils to TipsManager (converting it to Kottlin) 2014-11-19 16:01:19 +03:00
Valentin Kipyatkov 376e12b6f3 Removed code which does not seem to be needed at all 2014-11-19 16:01:18 +03:00
Nikolay Krasko 1fb0dc2d92 LTDA: Refactoring - extract processClassOrObject method from TDA 2014-11-18 17:10:25 +03:00
Nikolay Krasko 1a359fbcf6 LTDA: Refactoring - Move "analyzeFiles" to LazyTopDownAnalyzer 2014-11-18 17:10:24 +03:00
Nikolay Krasko 7b15f4125d LTDA: Fix configuration of package fragment provider in lazy resolve test code 2014-11-18 17:10:22 +03:00
Nikolay Krasko ad05b5a709 Injector for additional body resolve with lazy analyzer
Fix resolve JS modules with JVM resolver
2014-11-18 17:10:21 +03:00
Alexey Sedunov 7556acf029 Light Classes: Provide light classes (as well as light fields) for enum entries 2014-11-18 13:24:57 +03:00
Alexey Sedunov a6479bfc90 Light Classes: Do not add "final" modifier to enum light classes 2014-11-18 13:24:56 +03:00
Valentin Kipyatkov d061c3d771 Completion: bold members from immediate class 2014-11-17 22:06:16 +03:00
Stanislav Erokhin caf44969a4 Add support for check diagnostic parameters in test. 2014-11-17 17:45:06 +03:00
Stanislav Erokhin 5a192f58ea Create AbstractDiagnosticWithParametersRenderer with renderParameters method. 2014-11-17 17:45:06 +03:00
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 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 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
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 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 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
Pavel V. Talanov 5f47a5aa49 Move MemberComparator to 'descriptors' module 2014-11-14 16:18:23 +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