Valentin Kipyatkov
78f60503e3
More correct keyword completion after @
2015-10-15 19:20:10 +03:00
Valentin Kipyatkov
e27528477f
KT-9478 No override completion for second parameter in primary constructor
...
#KT-9478 Fixed
#KT-9386 Fixed
2015-10-15 19:20:10 +03:00
Valentin Kipyatkov
434be3be21
Adapted keyword completion to changed parser + more precise completion for modifier keywords
2015-10-15 19:20:09 +03:00
Valentin Kipyatkov
f90ff31507
Adapting code completion to no annotations without "@"
2015-10-15 19:20:09 +03:00
Valentin Kipyatkov
ddcab047ce
Added CallType.ANNOTATION
2015-10-15 19:20:09 +03:00
Valentin Kipyatkov
0030fb7155
Removed unused code
2015-10-15 19:20:09 +03:00
Valentin Kipyatkov
9e694523f8
Fixing conversion from Java on copy/paste after changes in parser
2015-10-15 19:20:09 +03:00
Valentin Kipyatkov
b519a8af08
Fixing live template context detection after changes in parser
2015-10-15 19:20:09 +03:00
Valentin Kipyatkov
988c934e78
Fixed Pull Up to generate correct annotation syntax
2015-10-15 19:20:08 +03:00
Valentin Kipyatkov
c8135fe4f2
Removed obolete syntax for enum entries in test data
2015-10-15 19:20:08 +03:00
Valentin Kipyatkov
090ea37a32
Fixed test data to use only annotation syntax with @
2015-10-15 19:20:08 +03:00
Valentin Kipyatkov
487501a7a4
Fixed test data after changes in parser
2015-10-15 19:20:08 +03:00
Valentin Kipyatkov
d84020b1f3
Removed special support for parsing annotations for multi-declaration in for
2015-10-15 19:20:08 +03:00
Valentin Kipyatkov
98dc8f234e
Drop suppport for annotation syntax without '@' from parser
2015-10-15 19:20:07 +03:00
Ilya Gorbunov
d8ba854036
Fixes and cleanup in stdlib generator after builtin renames.
2015-10-15 18:35:11 +03:00
Ilya Gorbunov
a5ccecfc3d
StdLib generator: refactor deprecation DSL to be able to set deprecation level.
2015-10-15 18:30:19 +03:00
Alexander Udalov
66417ed329
Parse type arguments after callable reference as error
...
Is likely to be supported in the future
2015-10-15 18:25:42 +03:00
Alexander Udalov
32a9bddbf9
Increase ABI version after yet another change to binary format
2015-10-15 18:25:42 +03:00
Alexander Udalov
bf4a681589
Deduce receiver type of callable reference from LHS, not from descriptor
2015-10-15 18:25:42 +03:00
Alexander Udalov
2cf437c0e2
Fix type of callable reference to fake override
2015-10-15 18:25:41 +03:00
Alexander Udalov
9eb2e16b94
Support strings directly in JVM string table
...
For small strings it may be beneficial to store them as is in the proto at one
point instead of in a class annotation, because each annotation argument in the
classfile has a constant overhead which may be significant for small strings
2015-10-15 18:25:41 +03:00
Alexander Udalov
4c21142648
Store type parameter names sometimes instead of ids
...
This helps to reuse instances of types when TypeTable is enabled in cases when
a file or a class contains a lot of functions with type parameters with the
same name (like Maps.kt in the stdlib with "Map<K, V>")
2015-10-15 18:25:40 +03:00
Alexander Udalov
fb5d8de84b
Use type table in DescriptorSerializer, add switch to enable/disable, test
2015-10-15 18:25:40 +03:00
Alexander Udalov
82d2e623d3
Support a more optimized way of storing types in metadata
...
Together with almost every type now there's also an id which references a type
from a separate table. Storing such ids instead of Type messages will allow to
reduce the size of the metadata for files where types are used many times over
and over again. Currently only deserialization of such types is supported,
along with the former mechanism
2015-10-15 18:25:39 +03:00
Yan Zhulanow
bff6639e2d
Use stubs in checkParameterInFunctionType
2015-10-15 18:23:58 +03:00
Yan Zhulanow
d52f245cf7
Rename unary plus/minus in builtins and stdlib
2015-10-15 18:23:58 +03:00
Yan Zhulanow
f7ce0c2d20
Add new intrinsic methods: unaryPlus, unaryMinus
2015-10-15 18:23:58 +03:00
Ilya Gorbunov
2fba80168d
Remove usages of Delegates.lazy
2015-10-15 18:20:41 +03:00
Ilya Gorbunov
c4ef4758d2
Remove last two usages of Delegates.blockingLazy
2015-10-15 18:20:39 +03:00
Pavel V. Talanov
053e61a226
file facade index: Fix indexing files without top level members by mistake
2015-10-15 15:49:46 +03:00
Pavel V. Talanov
d9ed79e781
Add test for not generating file facade light class for empty file
2015-10-15 15:49:46 +03:00
Pavel V. Talanov
123c55b6db
IDELightClassGenerationSupport: fix not generating @JvmName annotation for file facade light classes
...
This was a minor inconsistency between compiler and ide light classes
2015-10-15 15:49:45 +03:00
Pavel V. Talanov
9e9f593a7f
Generate tests for ide light classes from the same test data as for compiler light classes
2015-10-15 15:49:45 +03:00
Pavel V. Talanov
35e56993d3
Rename: KotlinLightClassTest -> CompilerLightClassTest
...
In fact we have very different code in compiler and ide but only one test
2015-10-15 15:49:44 +03:00
Pavel V. Talanov
225e5abc92
Test renaming empty file
2015-10-15 15:49:43 +03:00
Pavel V. Talanov
53b21061fd
Don't use StubBasedPsiElementBase#getStubOrPsiParent
...
#KT-9579 Fixed
2015-10-15 15:49:42 +03:00
Pavel V. Talanov
bfcabad148
Don't override StubBasedPsiElementBase.getStub
...
#KT-9575 Fixed
2015-10-15 15:49:42 +03:00
Michael Nedzelsky
890ae3e914
Make single-file classes tolerant to having many main()'s
2015-10-15 15:46:26 +03:00
Dmitry Petrov
416dda95ce
Drop package facades: build reflection in "regular" mode
...
(no multifile package facades).
2015-10-15 10:33:53 +03:00
Dmitry Petrov
8cd624a58a
Drop package facades: code cleanup in Kotlin project.
2015-10-15 10:33:47 +03:00
Dmitry Petrov
57869d85e8
Spread should always copy arrays.
...
Introduce a special (package private) utility class ArraysUtilJVM
to fix Array<T>.asList() issues.
2015-10-15 09:16:21 +03:00
Alexander Udalov
97946feb9a
Minor, rename and adapt test
2015-10-15 00:51:37 +03:00
Alexander Udalov
556a169a5d
Update stdlib usages of PropertyMetadata to KProperty<*>
2015-10-15 00:05:31 +03:00
Ilya Gorbunov
43bb9347c6
Rename Regex.hasMatch to containsMatchIn, and add corresponding contains function to CharSequence.
2015-10-14 22:49:50 +03:00
Ilya Gorbunov
d1d865aa0f
Rename methods in Regex. Add matchEntire method to match entire string against regex.
2015-10-14 22:49:48 +03:00
Ilya Gorbunov
d860f335a3
JS: Make StringBuilder implement CharSequence and introduce secondary constructors.
2015-10-14 22:49:47 +03:00
Ilya Gorbunov
935024db4e
Fix with hack bridge codegen for indexOf and lastIndexOf methods. More sophisticated solution is required.
2015-10-14 22:49:40 +03:00
Alexander Udalov
5017e54022
Fix test broken during merge
2015-10-14 22:02:11 +03:00
Alexander Udalov
bd5f068454
Fix build after subtle change of Enum.name from function to property
2015-10-14 22:00:48 +03:00
Michael Nedzelsky
57205f5721
drop BASE_WITH_NULLABLE_UPPER_BOUND
2015-10-14 20:51:01 +03:00