Commit Graph

7068 Commits

Author SHA1 Message Date
Natalia Ukhorskaya 18f4a20aa5 Regenerate OperationsMapGenerated.kt 2013-12-26 14:04:24 +04:00
Natalia Ukhorskaya 5c88c8c58f Make CompileTimeConstant abstract class 2013-12-26 13:50:28 +04:00
Natalia Ukhorskaya 292e825fac Increase timeout for android tests 2013-12-26 13:50:27 +04:00
Natalia Ukhorskaya f2f1a1313d Add jdk jars to kotlin classpath
#KT-4214 Fixed
2013-12-26 13:50:10 +04:00
Evgeny Gerashchenko 4bc94e86c0 Removed unreachable code. 2013-12-25 21:12:24 +04:00
Evgeny Gerashchenko 513be47544 KT-4349 Make jet.Boolean implement Comparable
#KT-4349
2013-12-25 21:07:55 +04:00
Valentin Kipyatkov 906694c49a Minor refactoring in ResolveSessionUtils 2013-12-25 18:44:07 +04:00
Valentin Kipyatkov b71020efc5 Refactored reference shortening utility (added expression references shortening and rewritten to Kotlin) 2013-12-25 18:40:16 +04:00
Evgeny Gerashchenko 90ad65bff8 Made rename refactoring inplace for loop, catch and function literal parameters.
#KT-1296 fixed
2013-12-24 22:30:28 +04:00
Alexander Udalov 571adf3acc Support references to local extensions in codegen 2013-12-24 20:41:20 +04:00
Alexander Udalov d3a811aa7e Support closures in codegen for callable references 2013-12-24 20:41:20 +04:00
Alexander Udalov 596b1622a3 Add tests on callable references
Object members and accessors for private class members
2013-12-24 20:41:20 +04:00
Alexander Udalov 363fe607fc Support local function references in codegen
#KT-3704 In Progress
 #KT-1183 In Progress
2013-12-24 20:41:19 +04:00
Alexander Udalov 07648583ed Minor refactoring in callable reference codegen
Don't store an extra field for functionDescriptor, since it's available from
the superclass as "callableDescriptor". Store a referenced function descriptor
instead
2013-12-24 20:41:19 +04:00
Alexander Udalov 00cad9df91 Include error type in error message
Everything besides it is almost always useless: descriptor is usually
ERROR_CLASS, declarations are usually nulls because they come from a different
module
2013-12-24 20:41:19 +04:00
Alexander Udalov 8695a0e283 Minor, FieldInfo.toString() 2013-12-24 20:41:19 +04:00
Alexander Udalov 0e9c530567 Simplify function invocation in ExpressionCodegen
Callee is now generated only when it could be non-trivial, which is only the
case when generating function call in invokeFunction()
2013-12-24 20:41:19 +04:00
Alexander Udalov 351aa30141 Simplify code in StackValue$CollectionElement 2013-12-24 20:41:19 +04:00
Alexander Udalov ece549b4d4 Minor, unindent code 2013-12-24 20:41:19 +04:00
Alexey Sedunov d00b17c621 Method rename 2013-12-24 12:10:55 +04:00
Alexey Sedunov fbb03afc0f Remove unjustified assertions 2013-12-24 12:10:54 +04:00
Alexey Sedunov 1e66a346d7 Use unsafe qualified names instead of safe ones in FQNAME_TO_CLASS_DESCRIPTOR slice 2013-12-24 12:10:53 +04:00
Alexey Sedunov c20ee310d0 Add support of local classes/objects declared in class constructor parameters 2013-12-24 12:10:52 +04:00
Alexey Sedunov 34e80056eb Don't create PsiMethod wrapper when it's not necessary 2013-12-24 12:10:51 +04:00
Alexey Sedunov fffddc3e87 Minor: Restructured KotlinLightClassForExplicitDeclaration, removed assertions 2013-12-24 12:10:50 +04:00
Alexey Sedunov f94f391a4e Use scope based on constructor descriptor (rather than class itself) when
resolving class initializers
2013-12-24 12:10:49 +04:00
Alexey Sedunov f381d97dc9 Provide fake enclosing PsiMembers for local light classes 2013-12-24 12:10:48 +04:00
Alexey Sedunov f547cd2471 Make anonymous light classes descendants of PsiAnonymousClass 2013-12-24 12:10:47 +04:00
Alexey Sedunov 1d03f9f151 Fix caching of light class data for nested classes 2013-12-24 12:10:46 +04:00
Andrey Breslav 09642df623 JavaPackageFragmentDescriptor.getKind() introduced 2013-12-23 21:57:59 +04:00
Andrey Breslav 37a79e8299 Unused slice removed 2013-12-23 21:57:38 +04:00
Andrey Breslav e5fdebd031 Rename method 2013-12-23 21:57:35 +04:00
Andrey Breslav 230e534989 Interface JavaPackageFragmentProvider extracted 2013-12-23 21:34:38 +04:00
Andrey Breslav fc2d9cdde6 getProvider() added to PackageFragmentDescriptor 2013-12-23 21:34:38 +04:00
Andrey Breslav da4245b712 JavaDescriptorResolver is accessible through JavaPackageFragmentDescriptor 2013-12-23 19:10:27 +04:00
Andrey Breslav ed3932eca8 Extract interface JavaPackageFragmentDescriptor 2013-12-23 19:10:27 +04:00
Evgeny Gerashchenko f7d33d2297 Removed comments auto-generated by IDEA. 2013-12-23 15:58:36 +04:00
Evgeny Gerashchenko e3743ace4f Added validation that all non-trait classes have at least one supertype.
Fixed it for some class objects.
2013-12-23 15:56:07 +04:00
Natalia Ukhorskaya 4329c42e3f Make unary minus and unary plus return int for byte and short 2013-12-23 13:46:00 +04:00
Natalia Ukhorskaya 802c1b772f Add gradle-plugin-core folder to exclude of JetConformanceTest 2013-12-23 13:46:00 +04:00
Natalia Ukhorskaya c9b2cda07c Add tests for usage of java annotation with default arguments 2013-12-23 13:45:59 +04:00
Natalia Ukhorskaya 5d2cb2f97b Annotations inheritance. Either prohibit or implement correctly #KT-3225 Fixed 2013-12-23 13:45:58 +04:00
Natalia Ukhorskaya cce6b952bd Add warning when 'val' keyword on annotation parameter is missing
#KT-1900
2013-12-23 13:45:58 +04:00
Natalia Ukhorskaya 513a59d552 Check annotations on anonymous intializers
#KT-2208 Fixed
2013-12-23 13:45:57 +04:00
Natalia Ukhorskaya 359f2ddbda Prohibit instantiation of annotation classes
#KT-3465 Fixed
2013-12-23 13:45:57 +04:00
Pavel V. Talanov 741e031ff1 Converter:
Use formatter in converter tests
Reformat test data
2013-12-22 16:46:51 +04:00
Andrey Breslav ac191a7dbb Introduce fall-through handling of recursion in lazy values
Fixed EA-52272 - NA: LockBasedStorageManager$LockBasedLazyValue.recursionDetected
2013-12-20 18:30:10 +04:00
Svetlana Isakova c9f3f9ca1f added position strategy to NOTHING_TO_INLINE error 2013-12-19 22:28:47 +04:00
Svetlana Isakova cfb7bcb73b use smart cast info while adding constraint for receiver 2013-12-19 22:05:52 +04:00
Evgeny Gerashchenko 4f36031874 Using null instead empty string for directory. 2013-12-19 21:48:40 +04:00