Commit Graph

14850 Commits

Author SHA1 Message Date
Andrey Breslav 298ddcf0ad Do not resolve annotation arguments when only a type is requested
This replaces the logic that always did complete constructor call resolution by a request to typeResolver when only a type is needed
2014-03-26 21:10:29 +04:00
Andrey Breslav 1cdfab761a Lazy annotation resolution supported 2014-03-26 21:10:29 +04:00
Andrey Breslav bb17adc8d7 LazyAnnotations implementation 2014-03-26 21:10:29 +04:00
Andrey Breslav 72b2fa77f7 Test for recursively annotated class object added 2014-03-26 21:10:29 +04:00
Andrey Breslav b3fb2e2314 Register files in package in LAZY mode 2014-03-26 21:10:29 +04:00
Andrey Breslav 311e7ab5fe Make RecursiveDescriptorProcessorTest happy, it relies on the order of interfaces 2014-03-26 21:10:28 +04:00
Andrey Breslav 3560a9da73 Minor. Extract method 2014-03-26 21:10:28 +04:00
Andrey Breslav cbb24a7d4e Multiple rewrites to the same key in a map replaced by one write 2014-03-26 21:10:28 +04:00
Andrey Breslav 27d4e583a8 Unneeded field removed 2014-03-26 21:10:28 +04:00
Andrey Breslav 368381a861 Minor. Rename method 2014-03-26 21:10:28 +04:00
Andrey Breslav f6439ade55 Minor. Extract method 2014-03-26 21:10:28 +04:00
Andrey Breslav df1f0886c5 Inject a project into TDA for proper lazy session initialization 2014-03-26 21:10:27 +04:00
Andrey Breslav 4b5a192e4c Don't add primary constructors parameters for properties 2014-03-26 21:10:27 +04:00
Andrey Breslav bf2cc99109 Don't add delegated members from error types 2014-03-26 21:10:27 +04:00
Andrey Breslav 34c6eaec56 Correct scope for property accessors in lazy resolve 2014-03-26 21:10:27 +04:00
Andrey Breslav 4dfb6763b2 Alias importing fixed for the lazy case 2014-03-26 21:10:27 +04:00
Evgeny Gerashchenko 9ecd680fd4 Rewritten PackageFragmentDescriptor to Kotlin. 2014-03-26 00:41:54 +04:00
Evgeny Gerashchenko 00c0c1acd1 Introduced base PackageFragmentDescriptorImpl class, 2014-03-26 00:30:56 +04:00
Evgeny Gerashchenko b736d1602e Got rid of conustructors zoo in value parameter and getter/setter descriptors. 2014-03-25 21:35:09 +04:00
Evgeny Gerashchenko cf61446d69 Fixed order of containing and original in property descriptors. 2014-03-25 21:35:09 +04:00
Evgeny Gerashchenko 48f8aa279b Extracted "preserve original" flag. 2014-03-25 21:34:11 +04:00
Evgeny Gerashchenko 1aaea21f63 Got rid of constructors/initializers zoo in property descriptors 2014-03-25 21:33:15 +04:00
Evgeny Gerashchenko eaad1f9f50 Got rid of constructors/initializers zoo in simple function descriptors 2014-03-25 21:33:14 +04:00
Evgeny Gerashchenko 8d38e74bd9 Got rid of constructors/initializers zoo in constructor descriptors 2014-03-25 21:33:09 +04:00
Nikolay Krasko 23e6ae02bd Update versions pattern in order to support several numbers in version 2014-03-25 19:02:49 +04:00
Nikolay Krasko d577656815 Download latest android studio by default 2014-03-25 19:02:49 +04:00
Alexey Sedunov cceb66d632 Implement structural grouping of Kotlin declaration usages
#KT-4742 Fixed
2014-03-25 18:01:06 +04:00
Alexey Sedunov 5d4527d7aa Parser: Fix recovery of constructor parameter list
#KT-4739 Fixed
2014-03-25 16:49:46 +04:00
Alexey Sedunov 028a71273c Fix test data of QuickFixTest 2014-03-25 16:49:44 +04:00
Alexey Sedunov 1bbec14cc0 Inspections: Explicit "get" 2014-03-25 16:49:43 +04:00
Alexey Sedunov a0bc6a7b39 Base classes for Kotlin inspections 2014-03-25 16:49:40 +04:00
kuity 48b9dcf5ae Added KT-4549 SwapBinaryExpression Intention 2014-03-25 15:55:53 +04:00
Andrey Breslav 80737bdfcf Fix PSI behavior for "val x : ()?' case 2014-03-25 15:55:53 +04:00
Evgeny Gerashchenko 6725b4f1b0 Minor. Unified code. 2014-03-25 14:34:59 +04:00
Evgeny Gerashchenko 5360451022 Minor. Renamed methods. 2014-03-25 14:34:58 +04:00
Evgeny Gerashchenko 33e59103ec Fixed test when JDK 8 is system default. 2014-03-25 14:34:58 +04:00
Evgeny Gerashchenko 74ff77eca4 Added test case to K2JvmCliTest.
Test is already present.
2014-03-25 14:34:57 +04:00
Evgeny Gerashchenko a502374a62 Added incremental compilation flag. For publishing intermediate implementation. 2014-03-25 14:34:53 +04:00
Evgeny Gerashchenko 3553f0701c Minor. Got rid of useless parameter. 2014-03-25 14:31:45 +04:00
Evgeny Gerashchenko a44f0c2f2d Removed dependency on asm in descriptor.loader.java
Conflicts:
	compiler/backend/src/org/jetbrains/jet/codegen/JavaSerializerExtension.java
2014-03-25 14:31:45 +04:00
Evgeny Gerashchenko 9f8a16fb1a Unified copying of property and method proto data. 2014-03-25 14:31:44 +04:00
Evgeny Gerashchenko 733de56178 Supported properties in partial compilation of package. 2014-03-25 14:31:44 +04:00
Evgeny Gerashchenko 98401d109f Minor. Dictionary. 2014-03-25 14:31:43 +04:00
Evgeny Gerashchenko 9e815f8560 Extracted Java signature deserialization logic from BaseDescriptorDeserializer.
Java signature deserializer returns asm Method instead of MemberSignature
2014-03-25 14:31:42 +04:00
Evgeny Gerashchenko 5e9e0acc34 Introduced trait for deserialized callable and implementations. 2014-03-25 14:31:42 +04:00
Evgeny Gerashchenko cb0a85bc50 Simplified code in functions hierarchy.
Minimized constructors variety and reduced code duplication.
2014-03-25 14:31:41 +04:00
Evgeny Gerashchenko 537c03fb1a Added test checking that initialization order in package part is not violated. 2014-03-25 14:31:41 +04:00
Evgeny Gerashchenko d62bc07437 Partial compilation of package (only functions supported). 2014-03-25 14:31:38 +04:00
Evgeny Gerashchenko 00c2bd60e5 Code cleanup in PackageCodegen.
Converted set to one element (because it's always one element). Checking for all files to be in one package FQ name is redundant.
2014-03-25 14:26:49 +04:00
Evgeny Gerashchenko 5c8253c099 Rendering class or package proto when JPS test fails. 2014-03-25 14:26:48 +04:00