Alexey Tsvetkov
f2c69e56d2
Remove @annotation from stdlib and compiler
2015-10-19 20:45:00 +03:00
Alexey Tsvetkov
ec57d3f144
Remove @data from stdlib and compiler
2015-10-19 20:45:00 +03:00
Dmitry Petrov
9de45f4c56
Dropping package facades:
...
- add @Deprecated kotlin.internal.InternalPackage to runtime
(for compatibility with older Kotlin code)
2015-10-19 16:03:19 +03:00
Ilya Gorbunov
078d904d41
Deprecated ranges: relax errors to warnings.
2015-10-19 15:37:42 +03:00
Ilya Gorbunov
69dc6701cc
Deprecate Double, Float and Comparable range implementations.
2015-10-19 15:37:41 +03:00
Denis Zharkov
28c46b73f1
Rename some of builtin parameters
2015-10-17 17:46:16 +03:00
Denis Zharkov
bd37a10677
Transform *Array.size to properties
2015-10-16 18:16:02 +03:00
Yan Zhulanow
d52f245cf7
Rename unary plus/minus in builtins and stdlib
2015-10-15 18:23:58 +03:00
Alexander Udalov
ec1b4776fe
Deprecate PropertyMetadata, use KProperty<*> for delegated properties instead
2015-10-14 20:45:25 +03:00
Alexander Udalov
3c74f48f91
Pass KProperty instances to property delegates
...
Inherit KProperty from PropertyMetadata, cache corresponding KProperty objects
instead of PropertyMetadataImpl objects, add support for properties with 2
receivers
2015-10-14 20:45:24 +03:00
Mikhail Glukhikh
f8a356747e
Stdlib rename: 'name' and 'ordinal' are now properties in Enum, same name functions are deprecated
2015-10-14 20:40:13 +03:00
Mikhail Glukhikh
78cfeb0d7d
Stdlib rename: List.indexOf(T), List.lastIndexOf(T), MutableCollection.removeAll(Collection<T>), MutableCollection.retainAll(Collection<T>)
2015-10-14 20:40:09 +03:00
Denis Zharkov
6322198a11
Revert 'isEmpty' transformation
2015-10-14 20:40:01 +03:00
Denis Zharkov
17c906658d
Transform Throwable members to properties
2015-10-14 20:39:59 +03:00
Denis Zharkov
6fa8083a70
Transform builtin Map declaration and adjust stdlib
2015-10-14 20:39:38 +03:00
Denis Zharkov
1305d9755a
Transform CharSequence.length to property
2015-10-14 20:39:29 +03:00
Alexey Tsvetkov
5449cea6b7
Make Array type parameter T non-reified
2015-10-14 18:36:53 +03:00
Svetlana Isakova
075a8eaf39
Moved 'Exact' and 'NoInfer' annotations to stdlib
2015-10-13 21:42:54 +03:00
Andrey Breslav
dbc0197a36
@HiddenDeclaration deprecated
2015-10-13 13:50:16 +03:00
Andrey Breslav
1c00b933a5
@Deprecated(..., level = HIDDEN) supported
...
isAnnotatedAsHidden() moved to front-end
2015-10-13 01:44:46 +03:00
Dmitry Petrov
ff1bf673ba
Java 8 override restrictions: interface can't implement a method of 'Any'
...
- update Range and related classes
2015-10-12 14:12:31 +03:00
Denis Zharkov
3f5498e9f5
Transform some builtin methods
...
1. CharSequence.charAt -> get
2. ML.remove(Int) -> removeAt,
3. MC.remove(Any?) -> MC.remove(E)
2015-10-11 19:57:21 +03:00
Alexander Udalov
0218e0351b
Deprecate KPackage, to be removed later
2015-10-11 17:10:37 +03:00
Alexander Udalov
fe737886cd
Drop deprecated K*Function interfaces
2015-10-11 17:10:34 +03:00
Denis Zharkov
cfc9d19825
Transform Collection.isEmpty and Map.Entry.key/value to properties
2015-10-10 12:29:14 +03:00
Denis Zharkov
d27d3950fb
Refine signature for Collection.contains/containsAll
2015-10-09 14:40:33 +03:00
Denis Zharkov
e800be18c6
Introduce UnsafeVariance annotation
2015-10-09 14:40:33 +03:00
Svetlana Isakova
f2efd30a5d
Added 'NoInfer' and 'Exact' annotations
2015-10-09 11:05:52 +03:00
Yan Zhulanow
d90585624f
Add 'DeprecationLevel' parameter to 'Deprecated'
2015-10-08 18:31:08 +03:00
Yan Zhulanow
d28ecc2316
Mark builtins and stdlib functions with 'infix'
2015-10-07 15:49:29 +03:00
Denis Zharkov
9d087ce5bd
Convert size() functions in builtins to properties
...
Just like it will work itself out :)
2015-10-06 23:56:17 +03:00
Mikhail Glukhikh
4b9d136ced
identityEquals is deprecated
2015-09-25 20:00:54 +03:00
Yan Zhulanow
1139a8dd0e
Mark builtins and stblib functions with 'operator'
2015-09-25 19:20:18 +03:00
Denis Zharkov
dcb84a7d0a
Make annotations-modifiers private and fix some lost usages
...
It's needed to prevent usages of them as real annotation/type.
But we can't remove them, because currently some modifiers
are artificially resolved as annotations of those classes.
2015-09-23 12:18:12 +03:00
Denis Zharkov
4a993f517e
Drop tailRecursive and it's usage
2015-09-23 12:18:12 +03:00
Denis Zharkov
098f5462eb
Drop inlineOptions and fix forgotten usages
2015-09-23 12:18:12 +03:00
Valentin Kipyatkov
452cd49c5e
Disallowed @Deprecated for local variables and parameters
2015-09-18 15:44:16 +03:00
Mikhail Glukhikh
b4399b8b8b
AnnotationTarget.CLASSIFIER and KotlinTarget.CLASSIFIER both dropped (second step)
2015-09-14 12:51:11 +03:00
Mikhail Glukhikh
3770e7f49f
Introduction of AnnotationTarget.CLASS as a replacement for CLASSIFIER (first step)
2015-09-11 17:59:40 +03:00
Alexander Udalov
1394e646b7
Minor, fix deprecation message
2015-09-11 15:12:04 +03:00
Dmitry Jemerov
00d834cf73
revert deprecation that breaks tests
2015-09-11 12:26:20 +02:00
Dmitry Jemerov
8ca54f4dbb
minor doc corrections
2015-09-11 11:43:55 +02:00
Denis Zharkov
04483eb826
Report custom diagnostic instead of symbol deprecation
...
For annotations that should be replaced with modifiers
2015-09-10 10:04:59 +03:00
Denis Zharkov
c449c0d080
Deprecate inlineOption in favor of crossinline modifier
2015-09-09 12:35:19 +03:00
Denis Zharkov
d7baef3f8d
Revert bf38f56261
2015-09-08 08:53:35 +03:00
Denis Zharkov
c9a8609a67
Drop InlineStrategy and corresponding inline parameter
2015-09-08 08:53:35 +03:00
Mikhail Glukhikh
8f7b29f80a
Annotation rename: target --> @Target
2015-09-07 13:42:26 +03:00
Mikhail Glukhikh
eab288bdd7
annotation() now has no arguments. Syntax migration to Retention / Repeatable / MustBeDocumented combination
...
Deprecated test for annotation(params) completion deleted. A lot of tests changed.
2015-09-04 19:21:12 +03:00
Denis Zharkov
bf38f56261
Temporary workaround to compile bootstrap version
...
May be reverted soon
2015-09-04 18:19:32 +03:00
Denis Zharkov
31244edec9
Deprecate deprecated in favor of Deprecated
2015-09-04 18:19:31 +03:00