Nikolay Krasko
b57e5fa971
LTDA: Compare constructed descriptors only with test files
2014-11-28 17:18:35 +03:00
Nikolay Krasko
48f459f656
LTDA: Enable lazy analyze by default
2014-11-28 17:18:35 +03:00
Alexander Udalov
d1425c14ba
Test built-ins serializer, untie built-ins from class loader resources
2014-11-28 15:39:03 +03:00
Alexander Udalov
44b8f3045f
Introduce PackageFragmentProviderImpl
...
It works with a read-only collection of package fragments, passed to it in the
constructor
2014-11-28 15:35:59 +03:00
Alexander Udalov
fd2ddff750
Minor, simplify serialization of enum entries
...
Enum entries are never reordered during sort (see MemberComparator)
2014-11-28 15:35:59 +03:00
Valentin Kipyatkov
122b14dd7d
More accurate filtering of extensions
2014-11-28 15:33:28 +03:00
Valentin Kipyatkov
016af0b53c
Code completion: shorter presentation for member extensions
2014-11-28 15:33:28 +03:00
Valentin Kipyatkov
ffe231ec4d
JetType.getTypeArguments() may not contain null's
2014-11-28 15:33:28 +03:00
Valentin Kipyatkov
bf65ddaa2f
Minor code refactoring
2014-11-28 15:33:27 +03:00
Valentin Kipyatkov
3c07df36c7
Renames
2014-11-28 15:33:27 +03:00
Valentin Kipyatkov
8bc7cf3d18
Smart completion fixed filtering of non-suitable generic inheritors
2014-11-28 15:33:27 +03:00
Valentin Kipyatkov
bf130676a8
Minor
2014-11-28 15:33:27 +03:00
Valentin Kipyatkov
c1252c7963
Do not search inheritors of Any
2014-11-28 15:33:27 +03:00
Valentin Kipyatkov
9af2877f97
Inheritors in smart completion work for the classes in the same file too
2014-11-28 15:33:27 +03:00
Valentin Kipyatkov
4acf668ab8
Smart completion of inheritors: correct filtering of duplicates
2014-11-28 15:33:27 +03:00
Valentin Kipyatkov
85825e0ab1
Smart completion includes object's from scope before searching for inheritors
...
#KT-6123 Fixed
2014-11-28 15:33:27 +03:00
Valentin Kipyatkov
ed9dba2071
Dropped functions not needed anymore
2014-11-28 15:33:26 +03:00
Valentin Kipyatkov
52acd223a2
Fixed KT-5211 Code completion in IntelliJ for generating anonymous class creates code with compile error "Projections are not allowed for immediate arguments of a super type"
...
#KT-5211 Fixed
2014-11-28 15:33:26 +03:00
Valentin Kipyatkov
3566ac1510
Code completion: added type parameters for Kotlin classes too
2014-11-28 15:33:26 +03:00
Valentin Kipyatkov
820c2c7cd8
Smart completion: inheritors instantiation suggested + fixed a bug with incorrect presentation of generic java class instantiation
2014-11-28 15:33:26 +03:00
Valentin Kipyatkov
07f7a35bc9
Finally turned on non-imported extensions completion optimization as new ResolutionFacade now allows for resolving any declaration
2014-11-28 15:33:26 +03:00
Valentin Kipyatkov
4e4fbfcabc
Fix
2014-11-28 15:33:26 +03:00
Michael Bogdanov
801f4ba837
Update to IDEA 139.560.4
2014-11-28 11:02:20 +03:00
Pavel V. Talanov
0a4f93ddb0
Move check for special annotation to an abstract class
2014-11-27 21:17:21 +03:00
Pavel V. Talanov
0d6555cc63
Prettify code in BinaryClassAnnotationAndConstantLoaderImpl
2014-11-27 21:17:20 +03:00
Pavel V. Talanov
bd575c39dd
Fix calling toString() on ProtoContainer
2014-11-27 21:17:20 +03:00
Pavel V. Talanov
f0a9c4f683
Extract non-descriptor specific abstract ancestor for BinaryClassAnnotationAndConstantLoader
2014-11-27 21:17:19 +03:00
Pavel V. Talanov
39e1dfbcc0
Merge AnnotationLoader and ConstantLoader into single interface
...
Merge all implementation classes into single BinaryClassAnnotationAndConstantLoader
2014-11-27 21:17:18 +03:00
Pavel V. Talanov
1652157ec7
Prettify AnnotationDescriptorLoader, ConstantDescriptorLoader and DescriptorLoadersStorage after conversion
2014-11-27 21:17:18 +03:00
Pavel V. Talanov
09ff1128ea
Convert AnnotationDescriptorLoader, ConstantDescriptorLoader and DescriptorLoadersStorage
2014-11-27 21:17:17 +03:00
Pavel V. Talanov
81ddd16df2
Rename AnnotationDescriptorLoader, ConstantDescriptorLoader and DescriptorLoadersStorage before conversion
2014-11-27 21:17:17 +03:00
Pavel V. Talanov
e4d3a65124
Make AnnotationLoader and ConstantLoader accept descriptor-independent data
...
Rewrite BaseDescriptorLoader to operate on data derived from proto
Intdoduce ProtoContainer to replace containing descriptor as input data
2014-11-27 21:17:16 +03:00
Pavel V. Talanov
c73ac97ecf
Minor: simplify code
2014-11-27 21:17:15 +03:00
Pavel V. Talanov
d2fc7c7fd3
Inline BaseDescriptorLoader#getPackagePartClassName utilities
2014-11-27 21:17:15 +03:00
Pavel V. Talanov
38725687fc
Prettify code in BaseDescriptorLoader after conversion
2014-11-27 21:17:14 +03:00
Pavel V. Talanov
bd540d5f80
Convert BaseDescriptorLoader to kotlin
2014-11-27 21:17:14 +03:00
Pavel V. Talanov
5aebc2fecd
Rename BaseDescriptorLoader before conversion
2014-11-27 21:17:13 +03:00
Alexander Udalov
8dae1b62dd
Add CharSequence.subSequence
...
This is done primarily for JVM interoperability, otherwise it's impossible to
inherit from CharSequence there. On JS subSequence at the moment just invokes
substring.
#KT-5956 Fixed
2014-11-27 20:38:19 +03:00
Alexander Udalov
4d95bcfc7e
Rename CharSequence.get to charAt
...
This is done for JVM interoperability. There's still a member function
String.get() and an extension function "get" on CharSequence
#KT-1730 Fixed
#KT-5389 Fixed
2014-11-27 20:38:18 +03:00
Alexander Udalov
a7b88e9485
Make CharSequence.length a function instead of property
...
And String.length as well.
This is done for JVM interoperability: java.lang.CharSequence is an open class
and has a function 'length()' which should be implemented in subclasses
somehow.
A minor unexpected effect of this is that String.length() is now a compile-time
constant (it wasn't such as a property because properties are not supported in
compile-time constant evaluation)
#KT-3571 Fixed
2014-11-27 20:38:17 +03:00
Alexander Udalov
6b8da062a4
Increase memory for 'All * Tests' configurations
...
Use the same parameters as for All Tests
2014-11-27 20:38:17 +03:00
Denis Zharkov
3b2d0b88f3
Supported nested reified parameter declarations
...
Also switched to using type names as identifiers instead of their
indices
2014-11-27 15:15:04 +04:00
Denis Zharkov
080610c208
Wrap parentCodegen before generating from inline
2014-11-27 14:58:04 +04:00
Denis Zharkov
538a2172e5
Got rid of hack with stashing wereReified
...
1. Made ClosureCodegen extending MemberCodegen
2. Made ClosureContext extending ClassContext
2014-11-27 14:58:04 +04:00
Denis Zharkov
ca27be87cc
Minor, removed redundant argument
...
from ClassBodyCodegen.generateDeclaration
2014-11-27 13:49:18 +04:00
Denis Zharkov
37d476c388
Moved DiagnosticFactories about reified to
...
``Type parameter declarations'' block
2014-11-27 13:49:18 +04:00
Denis Zharkov
02be1063c1
Do not report a warning on an inline function with a reified parameter
...
#KT-6273 Fixed
2014-11-27 13:49:17 +04:00
Denis Zharkov
f7d1bc5931
Diagnostics test: array creation of non-reified TP
...
#KT-1370 Fixed
2014-11-27 13:49:17 +04:00
Evgeny Gerashchenko
428109e8c4
Updated regexp for Windows. Hope it fixes test on buildserver...
2014-11-27 12:22:15 +03:00
Svetlana Isakova
724f2e6e7b
KT-6081 Chained generic method calls: wrong type inference
...
#KT-6081 Fixed
2014-11-27 02:28:10 +03:00