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
Andrey Breslav
22bc499b96
Check header kind when deserializing from class files
2013-12-24 19:21:53 +04:00
Andrey Breslav
5f20450053
Preserve exception cause in LockBasedStorageManager
2013-12-24 19:21:52 +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
6a9c535129
Navigate to containing declaration in case of local class
2013-12-24 12:10:53 +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
3eadd1403d
Looking up classes by fqName instead of complex package traversal
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
1d8547a789
Factory method moved to the top
2013-12-23 19:10:27 +04:00
Andrey Breslav
ed3932eca8
Extract interface JavaPackageFragmentDescriptor
2013-12-23 19:10:27 +04:00
Evgeny Gerashchenko
61d346e93d
Reverted changes in test data to fix tests.
2013-12-23 18:28:10 +04:00
Nikolay Krasko
bbf1dff818
KT-4158 Autopopup completion selects irrelevant keyword and confuses typing
...
#KT-4158 Fixed
2013-12-23 16:43:15 +04:00
Nikolay Krasko
69cb9008b3
Refactoring: rewrite JetKeywordCompletionContributor on Kotlin
2013-12-23 16:43:14 +04:00
Nikolay Krasko
085554b793
Temp commit: Rename before rewriting to kotlin
2013-12-23 16:43:14 +04:00
Nikolay Krasko
964fe6bbdb
Refactoring: change structure - each keyword has own filter
2013-12-23 16:43:13 +04:00
Nikolay Krasko
b39b2c1062
Refactoring: reformat with reordering entities
2013-12-23 16:43:13 +04:00
Evgeny Gerashchenko
f7d33d2297
Removed comments auto-generated by IDEA.
2013-12-23 15:58:36 +04:00
Evgeny Gerashchenko
2291b74bff
Not generating dumb code for empty directories in testData.
2013-12-23 15:56:07 +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
9fad61352b
Conversion on copy paste dialog:
...
Change text for dialog options to "Yes/No"
2013-12-22 16:50:09 +04:00
Pavel V. Talanov
7049b4e17e
Conversion on copy paste:
...
Refactor: prettify code
2013-12-22 16:50:08 +04:00
Pavel V. Talanov
5408c6ea77
Conversion on copy paste:
...
Copy elements that are partially selected as text
2013-12-22 16:50:07 +04:00
Pavel V. Talanov
3a4b7e07f8
Conversion on copy paste:
...
Copy element as text in case it can't be converted
2013-12-22 16:50:05 +04:00